Color Chart
Each of the following examples includes both an example tag and a working example of how to use the name and the hexidecimal code.
Changing font colors Using the color name.
This text is red. While this reverts back to the default color.
Using the hexidecimal color code
This text is red. While this reverts back to the default color.
This text is red.
The following examples are not working examples, but will work when copied from here and placed on your page.
Changing background, link and text color on your page
<.BODY BGCOLOR="#FFFFFF" LINK="#800080" ALINK="#FF0000" VLINK="#FFFF00" TEXT="#008000">
<.BODY BGCOLOR="WHITE" LINK="PURPLE" ALINK="RED" VLINK="YELLOW" TEXT="GREEN">
Top of page
Each of the color blocks in the following chart give several types of information.
![]() ![]() ![]() ![]() ![]() ![]() |
NOTE:
DO NOT USE NETSCAPE'S COLOR WORDS! If you get lazy and indicate a color using a name such as BLUE, HONEYDEW, or FORESTGREEN, the odds are only Netscape viewers will enjoy your work. Some words are supported by Internet Explorer, and none are supported by NCSA Mosaic. There are of course even more browsers than those around. Why take away from your site?
We previously mentioned that there are 256 X 256 X 256 colors (around 16 million), but if a video card is set to 256 colors, something has to give.
What gave where most of the colors! Here is how it exactly how to figure out if your color is safe.
In HEX (see below), each red, green, or blue component must start with:
00 or 33 or 66 or 99 or CC or FF
So, instead of 256 levels of red, green and blue, you have only 6.
This results in 6 X 6 X 6 or 216 colors!
You can save the image on the left and use it as a palette in your favorite graphics editor.