search engine optimization articles do it yourself seo hiring search engine experts html and search engine optimization web site analysis and submission service

HTML Help: Color Names

I'm trying to code the background color of "grey" into a table, but it doesn't work. When I use red or green it works, but grey doesn't work. I know grey is one of the named colors, so what's up with that?
The trick is, browsers' only recognize official color names. There are 139 of them, and one of them is gray. That's gray with an A, not grey with an E. Change the spelling to the officially recognized color name and you'll have the background color you want.

Here are the official names:

aliceblue antiquewhite aqua
aquamarine azure beige
bisque black blue
blueviolet brown burlywood
cadetblue chartreuse chocolate
coral cornflowerblue cornsilk
crimson cyan darkblue
darkcyan darkgoldenrod darkgray
darkgreen darkkhaki darkmagenta
darkolivegreen darkorange darkorchid
darkred darksalmon darkseagreen
darkslateblue darkslategray darkturquoise
darkviolet deeppink mediumturquoise
deepskyblue dimgray dodgerblue
firebrick floralwhite forestgreen
fuchsia gainsboro ghostwhite
gold goldenrod gray
green greenyellow honeydew
hotpink indianred indigo
ivory khaki lavender
lavenderblush lawngreen lemonchiffon
lightblue lightcoral lightcyan
lightgreen lightgrey lightpink
lightsalmon lightseagreen lightskyblue
lightslategray lightsteelblue lightyellow
lime limegreen linen
magenta maroon mediumblue
midnightblue mintcream mistyrose
moccasin navajowhite navy
oldlace olive olivedrab
orange orangered orchid
palegoldenrod palegreen paleturquoise
palevioletred papayawhip peachpuff
peru pink plum
powderblue purple red
rosybrown royalblue saddlebrown
salmon sandybrown seagreen
seashell sienna silver
skyblue slateblue slategray
snow springgreen steelblue
tan teal thistle
tomato turquoise violet
wheat white whitesmoke
yellow yellowgreen lightgoldenrodyellow
mediumaquamarine mediumorchid mediumpurple
mediumseagreen mediumslateblue mediumspringgreen
mediumvioletred Smile friend, it looks good on you!

Note that some colors may appear the same because of your computer hardware or settings, or even because your eyeballs may not be able to see the subtle differences between some colors. Or you could be color blind. Or maybe someone has their hands over your eyes. Or you might be wearing sunglasses in the dark—wow, you're cool.

This concludes the

HTML Help about Color Names

. Based on your interest in this HTML FAQ you may also be intereted in: Browser Safe Colors | Color Tweaker | Color Schemer.
Back | HTML FAQ | HTML Tag Chart | HTML Index | Web Design Tutorials
search engine optimization course
If you want your web site to rank high in the search engines . . . what are you going to do to get it there? Check out my search engine optmization guide, SEO for YOU: Search Engine Optimization for Ordinary Everyday People!

Check out SEO for YOU now!

Almost a Newsletter

Subscribe today for exclusive website design tutorials and grab some free gifts to boot! Learn more, or subcribe below:
Email:

First Name:

Privacy Policy

Did you know...

The member's site has about 100 standards compliant HTML and CSS tutorials, 31 handy reference charts, reprintable content, web graphics, exclusive fonts, free software, free ebooks and more? All this for less than 9 cents a day! [ Details ]
See my fancy bottom! :)