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

HTML Colors
Colors on Web Pages and in HTML

By Jennifer Kyrnin, About.com

HTML colors are displayed as a combination of red, green, and blue light. You can use any number from 0 to 255 for each value to get an RGB code that you can use for colors. This gives you more than 16 million colors to choose from (256 x 256 x 256). And most modern monitors are capable of displaying at least 16,000 colors. If you can't find the color you like in that many choices, well, it probably doesn't exist.

HTML Colors Vary the Light

Here are some color charts that show you what this means. HTML colors are defined by their red, green, and blue (RGB) values. The first three color charts red, green, and blue only vary in their respective color. The other two colors are kept at zero.

To get HTML colors that are different hues than red, green, or blue, you need to change two of the colors in the triad. For my orange and yellow chart the red is set to #FF and the green value is modified. For my violets chart, the red is set to #FF and the blue value is modified. In both, the third value is left at 0. Finally, for grays, you keep all three colors the same value.

Other HTML Colors

There are a lot of other ways to use HTML colors and find HTML color charts. Some of the ways I find colors include:

Explore Web Design / HTML
About.com Special Features

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

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. Web Design
  5. Principles of Web Design
  6. Color
  7. HTML Colors>

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

All rights reserved.