Text Colors

*Note the spelling, American spellings are used throughout HTML authoring.
Another feature of HTML is the ability to apply color to text. The browser a reader is using must be able to support this feature or it will either ignore the tags, or display the tags as text.

The following is an example of how to specify a particular piece of text in the color green.

<font COLOR="#00FF00">This text is in the color Green</font>

and will be displayed like this:

This text is in the color Green

As you can see this was accomplished with the use of the opening <font> tag, and the closing </font> tag. COLOR is a parameter to the <font> tag. It is used to identify the color the text between the opening and closing Font Tags is to be displayed in.

The following is an example of some of the COLOR codes (Hexidecimal Codes) that will be used with the COLOR parameter in a <font> tag.

Color		Color Code
Red		#FF0000
Turquoise	#00FFFF
Light Blue	#0000FF
Dark Blue	#0000A0
Light Purple	#FF0080
Dark Purple	#800080
Yellow		#FFFF00
Pastel Green	#00FF00
Pink		#FF00FF
White		#FFFFFF
Light Grey	#C0C0C0
Dark Grey	#808080
Black		#000000
Orange		#FF8040
Brown		#804000
Burgundy	#800000
Forest Green	#808000
Grass Green	#408080

Click here to go to Background Colors.


Hosted by www.Geocities.ws

1