Web Safe Colors - Hexadecimal Colors

Web safe colors are colors that are already installed in your browser. Todays modern computers can read and correctly display millions of colors so web safe colors are no longer an issue, in developed countries anyway. Any computer with 24 bit color and higher has millions of colors. Computers with 16 bit color have 65,536 colors and those with only 8 bit color only have 256 colors. So if your traffic stats show you have considerable traffic from third world countries and 8 bit computers then you may want to stick with web safe colors.

Hexadecimal Web Safe Color Chart

Hexadecimal Web Safe Color Chart
Used with permission by
© 2000 VisiBone

To use these colors set up a class in your CSS file for whichever color you want like this:

.red {color:#FF0000;}

Then apply it to your document using the Hex code for that color, like this:

<div class="red">This text is red instead of the normal black.</div>

For an explanation of hexadecimal color codes see Hex Color Codes and How to Use them

Here is a site that explains Bit Depth in more detail and you can also Test Your Color Depth or check out some Pantone Color Guides. Here is a great article on Color Theory. The Color Wizard site provides an online tool where you can input a color and get complimentary colors or different shades of the same color.

order an In-Depth SEO Analysis Report

Lori Eldridge
Copyright © June 2004 - updated 11-04-20
All Rights Reserved