Use hex values, not words, for CSS colors.

I’m helping a local semiconductor conference get their web site in order, and get an email that something’s not working right in IE on Windows. I can’t get it to recognize “background-color: grey;” a rule which works on Safari and Mozilla. Then I think ’spelling!’ and change the rule to “background-color: gray;” and it works on IE.

The upshot: use hex values, not words, for colors.

There are many grays to choose from. Go see More Crayons’ list.

More like this: .