Introduction
There are two ways to specify colors in your web
page. One is using Hexadecimal numbers and the other is using
Color names. I suggest using one that is most comfortable to
you and sticking with it thru out your web site.
Back
top

Hexadecimal Codes
Colors that are defined by a number is
called hexadecimal. Hexadecimal codes can be tricky but some
find easier to use. I have provided a color chart at the
bottom of this page to help you out with the color codes. An
example of hexadecimal color code is:
Red |
Green |
Blue |
#FF000 |
#00B800 |
#0F00CD |
Make sure when you type of the code that you type a zero (0) and not
the letter o.
I also suggest you try and use basic colors since there are people
out there that cannot see all the color properly.
Back to

Color Names
There are over 100 defined color names
that are recognized by Netscape 3.0+ and Internet Explorer 3.0+.
Other browsers may not see the color correctly and can become
spotty. An example of using color names is:
Black |
Green |
Red |
Yellow |
Olive |
Cyan |
Back
top

Body Colors
Body colors are those that are set as
the basic colors for your page. They will cover the text,
links, visited links, activated links, and background.
They are written together in the body tag. An example:
The bgcolor is the background color, the text is text, link is
links, vlink is visited links, and alink is activated links.
And example of what this would look like is this:
Text
Link
Visited Link
Activated Link |
This tag will go directly under your tag.
If you put it in the wrong spot or have more then one your page may
not load correctly in some browsers.
You will learn more about the links on my links page.
Back
top

Font Colors
You can control the way your text
looks at any time within your page by using the font color
tag: The tag will look like this:
colored text
You will want to make sure you end you text you wanted colored
with the tag. If not everything from the first
part will stay the same color.
Back
top

Table Colors
You can add a colored background
to your table by added this tag:
|