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
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:
You can use the hexadecimal code in place of the color's name in your font tag like this:
|
||||||||||||||||||||
|
|
BODY BGCOLOR
The Body Tag controls a lot of what your page will look like. Here's an example:
<BODY BGCOLOR=white TEXT=blackIn 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.
|
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.
|