Color Chart and Information

This table can be used to find the correct colors for the BGCOLOR, TEXT, LINK, VLINK, ALINK, and FONT HTML tags.  Helpful information below chart.

THE BGCOLOR ATTRIBUTE

This allows you to change the color of the background without having to specify a separate image. This attribute can also be used within a table to change only the color of the table.  Place it after the </HEAD> tag.  To use it in a table add the tag after the cellpadding tag and enclose it.  You can use all capitals or all lower case letters.

Background example:  <BODY BGCOLOR="#ffffff">

Table example:  <TABLE BORDER CELLPADDING="2" BGCOLOR="#ffffff">

Where "#ffffff" is a hexadecimal red-green-blue triplet used to specify the color.

THE TEXT ATTRIBUTE

This attribute is used to control the color of all the normal text in the document (not linked).  The format of TEXT is the same as that of BGCOLOR.  Place it after the </HEAD> tag.

Text example:  <BODY TEXT="#ffffff">

Background and text example:  <BODY BGCOLOR="#ffffff"  TEXT="000000">

THE LINK, VLINK, AND ALINK ATTRIBUTE

These attributes let you control the coloring of link text. VLINK stands for visited link, and ALINK stands for active link. The default coloring of these is: LINK=blue, VLINK=purple, and ALINK=red. The format for these attributes is the same as that for BGCOLOR and TEXT.

Links example:    <BODY LINK="#fffffff" VLINK="#ffffff" ALINK="#ffffff">

You can change the color of only one link on a page by using the following format:

<A HREF="something.html"><FONT color="#ffffff">Something</FONT></A>

The key here is to put the <FONT color tag after the <A HREF tag.  If you reverse these, it won't work.  "Something" is the word you are linking.

Back to WEB PAGE TOOLS

Back to HOME PAGE