September 4, 200817 yr It's a very nice file, but these are not web or HTML color names. Officially, HTML recognizes only 16 named colors: http://www.w3.org/TR/REC-html40/types.html#h-6.5 though most browsers support more: http://en.wikipedia.org/wiki/Web_colors If you use CSS, the list includes all color keyword names as defined in the SVG standard: http://www.w3.org/TR/SVG/types.html#ColorKeywords
September 4, 200817 yr Here's a bare-bones file with CSS/SVG named colors. As you can see, everything can be calculated from the RGB values - including the swatch. x11colors.fp7.zip
September 4, 200817 yr This is a great thead - thanks guys!! Can you explain the purpose of the cSafe calculation, Michael?
September 4, 200817 yr Thank you! It seems that the *really safe* web colors are much too bright for any design that I will ever create. I, as a User, couldn't imagine staring at any of those underlined shades for very long; I'd need sunglasses. I've been meaning to put together a file such as these for quite some time and you've saved me from the work of it. Much appreciated!!
September 4, 200817 yr There are more safe colors than the file has - you only see which of the *named* colors are safe. Besides, the concept of safe colors is rather outdated now.
September 7, 200817 yr It seems that these colors: lightgray, darkgrey, grey, lightslategrey, slategrey, dimgrey, darkslategrey are used only by Netscape. Maroon isn't x11, neither Gray nor Green nor Purple: their hex are from HTML and CSS BTW: the attached file uses the WV to display colors by their name. x11colorsOnWV.zip
September 7, 200817 yr I never claimed these were x11 colors - I said they were CSS/SVG: http://www.w3.org/TR/css3-color/#svg-color http://www.w3.org/TR/SVG/types.html#ColorKeywords
September 7, 200817 yr I never claimed these were x11 colors You didn't say but the name of your file says.
September 7, 200817 yr So change it to Pling.fp7 or whatever... The table below provides a list of the X11 colors [X11COLORS] supported by popular browsers with the addition of gray/grey variants from SVG 1.0. The resulting list is precisely the same as the SVG 1.0 color keyword names. This specification extends their definition beyond SVG.
Create an account or sign in to comment