Beginner's Guide - Colors

Colors for the entire page are set in the <BODY> tag using the following attributes:

TEXT - Normal text

BGCOLOR - Background

LINK - Unvisited links

VLINK - Visited links

ALINK - Active links, which are only useful on pages with frames, and even then you don't usually see them, so you can ignore them for now.


All of these attributes are set as either color codes (a six-digit hexadecimal number reprenting the red, green, and blue amounts) or color names, both in quotes. Here is a chart of names and codes:
Color Name Code
  Black #000000
  Silver #C0C0C0
  Gray #808080
  White #FFFFFF
  Maroon #800000
  Red #FF0000
  Purple #800080
  Fuchsia #FF00FF
  Green #008000
  Lime #00FF00
  Olive #808000
  Yellow #FFFF00
  Navy #000080
  Blue #0000FF
  Teal #008080
  Aqua #00FFFF

Back to alignment | Section table of contents | Forward to fonts | Main beginning page