We live in a colorful world. Unfortunately, most computers don't yet realize it. While there are millions of color combinations out there, the average computer can only display a few thousand; in some cases, as few as 256. Thus, while you might have envisioned spectacular colors for your web site, unless they are part of that limited list the results might be far less than you had imagined.
To help avoid such little surprises, Netscape developed a series of 216 "web-safe" colors. These are colors that can be displayed by any browser without the need to "dither" or modify them for display. The colors are identified as combinations of red, green and blue, using hexadecimal
numbers for each color.
The following table gives the hex code and the resulting color. When you plan your website, try to stick to these "safe" colors. You can use other combinations, but there's no guarantee how they will look out on the web. However, if you use these colors, you will get these colors.