HEXADECIMAL COLOR CODE CHART

This color chart contain an approximation (the numbers are exact; the colors as close as technology can get them) of a color palette that will not dither when viewed on the web. The center 6 columns contain the 216 non-dithering colors; the outer two columns (pure shades of red, green, blue and black) are for reference.

HOW TO USE THE COLOR CODE

Hexadecimal Color names are six digit codes used to specify how much of the colors RED, BLUE, and GREEN are in the desired color.

<FONT COLOR=RED> YOUR TEXT</FONT>

In this example, FONT is the tag name, COLOR is the attribute, and RED is the value of that attribute.

You could just as easily use blue or yellow or green as the value of your color attribute. If you want a fairly basic color, you can use it's name; But if you're looking for a real off the wall color like Brick Brown...Well, that's another matter altogether. In that case you'll need to use it's HEXADECIMAL name.

Here are the hexadecimal codes for some of the more common colors:

#000000 BLACK
#FFFFFF WHITE
#FF0000 RED
#00FF00 GREEN
#0000FF BLUE
#00FFFF CYAN
#A020F0 PURPLE
#FFA500 ORANGE
#FFFF00 YELLOW
#A52A2A BROWN

You can use the hexadecimal code in place of the color's name in your font tag like this:

<FONT COLOR="#FF0000"> Your Text </FONT>

 

 

MORE ON...  HOW TO USE THE COLOR CODE

BODY BGCOLOR

The Body Tag controls a lot of what your page will look like. Here's an example:

<BODY BGCOLOR=white TEXT=black
LINK=blue ALINK=green VLINK=red>
</BODY>

In the Body tag example above, BODY is the element, and BGCOLOR, TEXT, LINK, ALINK, and VLINK are the attributes.

The Element tells what the tag is in a general way, and the Attributes describe the tag more specifically.

Let's look at BGCOLOR attribute in the example:
BGCOLOR=white

This determines the background color for the entire page. I use white here, but you could use red, blue, green, black, almost any common color. If you want to get really wild, you can use a HEXADECIMAL color code, from the chart above.





Have  a great day,

Major Salas

Return to Major Salas' Home  | Return to Teacher Selection Page |

E-Mail web page questions and comments to HSalas@cadet.com

"Knowledge Is Power."
© Copyright 2001, Major Hector Salassm. All Rights Reserved. No portion of Major Salas' web pages 
may be reproduced, altered, or distributed without permission.