Previous Message
Next Message

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?


Tangentially:

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, 
like:
         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.

Paul
__________________________

216-color web-safe color palette - Doug Jacobson
         hexadecimal:
http://www.hypersolutions.org/pages/rgbhex.html
         decimal:
http://www.hypersolutions.org/pages/rgbdec.html

Color names & their RGB values - Netscape DevEdge
http://devedge.netscape.com/library/manuals/2000/javascript/1.3/reference/colors.html

Color names & their RGB values (+ system color names) - MSDN
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/colors/colors.asp

RGB Color Codes and Names Arranged by Hue (+ links) by Dan Keller
http://www.keller.com/rgb.html

.... and revised by Osamu Nyan Kondo
http://www.asahi-net.or.jp/~mk7o-kndu/labo/colnames.htm


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: