1. Technology

HTML Colors

Colors on Web Pages and in HTML


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:

©2014 About.com. All rights reserved.