How To...Be Colorful!
Colorizing your page for dynamic output and readability can be
rewarding, and it can be deadly if you don't use the right colors.
Overall colors for an entire HTML document are set in the <BODY>
tag. I'll cover specific color changes in words/sentences later.
In the <BODY> tag, the following can be used to change colors.
<BODY TEXT="#xxxxxx" LINK="#xxxxxx" VLINK="#xxxxxx" ALINK="#xxxxxx" BGCOLOR="#xxxxxx">
The x's represent hexadecimal numbers that tell the browser you're
using to assign the colors to.
- TEXT is the overall color of regular text on the page.
- LINK is the color of text that is a URL link to another location.
- VLINK is the color of a VISITED URL.
- ALINK will be the color of a link when it is clicked.
- BGCOLOR is the color of the background.
Color listing with hexadecimal,decimal, and colored text:
Part I
Part II
It may take a few seconds for the color table to load via a Perl program.
Font Color Manipulation
In order for you to see this, you must be using Netscape 1.2 or higher or Microsoft's Internet Explorer.
If this line is a different color, then your browser is compatible
To change the color of specific TEXT (not the color of a specific link), the <FONT> tag will do that for you.
Here's the syntax:
<FONT COLOR="#FF000">Text Color Change</FONT>
That, in effect, will do this:
Text Color Change
With the <FONT> tag, you can also change the size of the font.
![[Return]](../Pics/HANGAR.gif)
Return to How-To index