A color by any other name....
Sent by Paul Novitski on 4 July 2004 02:02
At 09:38 AM 7/2/2004, tedd wrote:
>I just read that using the name of a color, such as "black", "white",
>"red", "blue", or other such "standard" color names, instead of using
>hexadecimal, may not translate to a color in some browsers. The article
>said that it's "best" to use hexadecimal and not "standard" color names
>for basic colors -- is that true?
I love using verbal color names because they're so programmer-friendly, but
other than black, white, and a couple of the primary & secondary basics I
don't use them because a) they comprise such a spotty palette and b) the
more obscure names are not guaranteed to be understood browser-wide.
[Now, what would be cool would be if we could build color values verbally,
darker smokey red
pale ice blue ghosted green
slightly yellowish red-brown
blue-tinged pale green
in which each word represented a point or vector in the color space, a
measured transformation, or a measured increase or decrease of a
transformation, similar to the way "bolder" and "smaller" are CSS key words
for specific numerical values. Ah, well!]
When referring to colors numerically, my personal preference is changing
from hex to decimal syntax:
color: rgb(0,51,102); /* dark powder blue */
simply because Photoshop (at least the old version I'm still packin')
doesn't have a hexadecimal input mode and I don't want to have to convert
back & forth all the time.
Below are some more color links I've found useful.
216-color web-safe color palette - Doug Jacobson
Color names & their RGB values - Netscape DevEdge
Color names & their RGB values (+ system color names) - MSDN
RGB Color Codes and Names Arranged by Hue (+ links) by Dan Keller
.... and revised by Osamu Nyan Kondo
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/