Subject: Font color.
Author:
Posted on: 2009-12-31 03:50:00 UTC

Font colors work with a hexadecimal color code, meaning a six-number code of numbers 0-9 and letters A-F. All 0s is no color, or black; all Fs is white. Between, you've got red, green, and blue. For example:

produces red text.

produces green text.

produces blue text

I've also bolded the text so the color shows up better. Numbers produce darker, more saturated colors. If I want really bright colors, I switch over to letters:

Bright red!

Bright green!

Bright blue!

Always use to close a font tag.

You can combine numbers and letters for different results:

Dark green.
Brighter dark green.
Darker bright green.
Bright green.

Unfortunately, that's as well as I understand it, so if I want more complex colors, I cheat.

~Neshomeh, who advocates cheating as a method of learning HTML.

Reply Return to messages