Need Help on colors
IEWindow("something - Microsoft Internet Explorer IEWindow").Attach
Set obj = HTMLAnchor("Caption='Click Me'").Object
Set obj1 = obj.currentstyle
Above code returns color in hexadecimal, how can i know name of that color?
Re: Need Help on colors
hmmm, is it olive green, grass green or maybe forest green with some blueish organge?
HTML color scheme supports over 16 million colors. It is impossible to have names for all colors.
Some colors of course have names, see any documentation on HTML for the standard HTML color names, e.g. go to www.w3schools.com and see the section on colors. You will probably have to implement a large select case statement to map the hexadecimal values back to names.