1. Home
  2. Computing & Technology
  3. Web Design / HTML
Jennifer Kyrnin
Jennifer's Web Design / HTML Blog

By Jennifer Kyrnin, About.com Guide to Web Design / HTML

Color keywords are easier to remember

Saturday November 17, 2007
Named colors or color keywords are so much easier to remember than hexadecimal or RGB codes, so we might as well use them in our CSS.
color wheel
Image courtesy foobean01 from StockXchng #537438.
Okay, sure, maybe "aliceblue" doesn't tell everyone exactly what color that would be. But at least you know it's in the "blue" family. Does #f0f8ff scream blue to you? I can easily remember that I like the color "darkgreen" but remembering #006400 is a lot harder. Consider the color keywords the next time you're putting up a page. They are a lot more fun than codes.

Comments

June 2, 2007 at 8:10 pm
(1) Corky says:

I generally find a color that I like and find out the hexadecimal code. One way I learned to do that is to use the calculator in the scientific mode. If you know the RGB numbers then just enter the number with the calculator in the scientific mode, make sure that the radiobutton is picked for the DEC, type in the RGB number in the order that they are displayed. Once that is done click on the Hex radiobutton and there is the hexadecimal code for that part of the color. I use this trick quite often.

June 3, 2007 at 8:32 am
(2) Dean says:

I use the handy colorzilla firefox extension to get the rgb and hex codes for any color I can see in any web page.
I use the handy color picker tool to get codes for colors and to see how different colors look together.
http://www.pagetutor.com/colorpicker/index.html
And, if I need to convert rgb to hex or vice-versa, I use a bookmarklet.
I think it’s important for new web designers to understand that colors may look different in different browsers. Need to check it.

June 4, 2007 at 4:40 am
(3) Rambo 8 says:

do you use the 216 web-safe colors? doesn’t look so…

June 4, 2007 at 12:47 pm
(4) Jennifer Kyrnin says:

Rambo 8: If you’re asking me, no, the About.com site doesn’t use the browser safe Web palette.

June 4, 2007 at 9:02 pm
(5) Design Guy says:

I believe that we have been into the age of millions of supported colors long enough to start using the colors that match well with our graphics and intentions instead of staying with only 216 colors.

The main importance I see is now how you decide and remember the colors but how you use them. It’s not very difficult to open most any graphics program and find the hex value for the color you need.

June 5, 2007 at 1:40 am
(6) Jennifer Kyrnin says:

Just to clarify, this article is not about using the 216-color palette. It’s about using named colors because they’re easier to remember. Most of the named colors come from the extended millions of colors palette and not from the “web safe” palette.

June 9, 2007 at 6:57 am
(7) Jenna says:

According to W3C, if you want to code for ‘tomorrow’, you should get yourself out of the habit of using named color values and into the habit of going with the hex.

June 9, 2007 at 11:23 am
(8) Jennifer Kyrnin says:

Jenna: can you source that comment? The SVG color keywords come straight from the W3C CSS 3 Color Module which is a candidate recommendation. http://www.w3.org/TR/css3-color/#svg-color

In fact, in that same specification, the first example used is “em { color: lime }” followed by an RGB color listing. They don’t show using a hex color in that example at all.

September 1, 2007 at 5:50 pm
(9) Zero Yamaguchi says:

Photoshop is a pretty useful too to find the hexadecimal value for a color that you want to use. Just use the color picker and you will see the hex value of your selected color in the bottom right of the picker box.

November 19, 2007 at 1:15 pm
(10) Christian Haensel says:

I always use photoshop to get nice colors. After that, I try to remember the hex code of the color. But thanks to Jennifer, I will have a look at the color names… looks fun to me :)

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore Web Design / HTML
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML

©2009 About.com, a part of The New York Times Company.

All rights reserved.