Use these links to jump around or read it all...
[Text Color Codes]
[Section 1: Changing Full-Page Text
Colors]
[Section 2: Changing Specific Word Color]
Text Color Codes
In order to change text colors, you will need two things:
1. A command to change the text.
2. A color (hex) code.
The color codes, as I said above, are technically called hex codes. Use that term at your next cocktail party and impress the hostess. The codes are not too user friendly, and you'll need a chart to tell you what code makes what color. Well, gosh! I happen to have one right here: Click to go.
So You Want A
Color Code, Huh?
Drop by, grab a six-digit color code, and come on back.
Section 1: Changing Full-Page Text Colors
You have the ability to change full-page text colors over four levels:
<TEXT="######"> -- This denotes the full-page text color.
<LINK="######"> -- This denotes the color of the links on your page.
<ALINK="######"> -- This denotes the color the link will flash when clicked upon.
<VLINK="######"> -- This denotes the colors of the links after they have been visited.
These commands come right after the <TITLE> commands. Again, in that position they affect everything on the page.
Also... place them all together inside the same command along with any background
commands. Something like this:
< BODY BGCOLOR="######" TEXT="######" LINK="######"
VLINK="######">
Please note: When you write these codes, you can write them with a # sign in front of the hex code or not. It used to be that that was required, but not any more.
I still use it just because I started that way. You may want to just go with the six-digit code.
Also make sure to place a space between each command and be sure to enclose it in quotation marks, like so:
<VLINK="#FFFFFF">
Section 2: Changing Specific Word Color
But I only want to
change one word's color!
You'll use a color (hex) code to do the trick. Follow this formula:
<FONT COLOR="######">text text text text text</FONT>
It's a pain in the you-know-where, but it gets the job done. It works with all H commands and text size commands. Basically, if it's text, it will work.
[Text Color Codes]
[Section 1: Changing Full-Page Text
Colors]
[Section 2: Changing Specific Word Color]
Enjoy!