1 2 3 4 5 6 7 8 9 10 11 12 13 14
Back to the Lessons Index

Guidelines for color

Points to consider:

Tags to Change Color Attributes

To change Entire Document Body Text:

<BODY BGCOLOR="#9932CD"> Changes the Background color of the Document to Dark Orchid (Default is grey).
<BODY BGCOLOR="#000000" TEXT="#FFFFFF"> Sets the text color to white, background color to Black. (Default is black).
<BODY LINK="#FF0000" VLINK="#00FFFF"> Sets the LINK color to red, Visited LINK color to Cyan. (Default: LINK is blue, VLINK is purple)

To change Local Body Text:

<FONT COLOR="#FF00FF"> your text </FONT>Sets Text between Tags to Magenta. (Default is black).

You can also pair color with size attributes in the <FONT> tag:

<FONT SIZE=2 COLOR="#A62A2A">your text </FONT> Changes Text to Text Size 2, Color Brown

View a hex color chart so you know what color to choose.