Background, text and link colors

You can set background, text and link colors in the body tag at the beginning of an HTML file. Color is a mix of red, green and blue in hexadecimal notation. Black is 000000, or no color. White is ffffff, or full color. Experiment finding combinations you like. You can also specify color by name instead of by number. Common colors like green, yellow and red have been given numeric equivalents. Remember transparent graphics designed for white backgrounds won't look good on dark colors.

This is a link

This is a linkthat was visited.

Back to Table of Contents