The FONT tag has an attribute named COLOR that can be set in one of two ways:
- with predefined
words such as RED, BLUE and GREEN that the browser interprets as color values
- with hexadecimal values consisting of 6 digits.
When using hexadecimal values, the first 2 digits determine how much RED should be used to generate the COLOR value. The second 2 digits determine the amount of GREEN, and the third 2 digits determine the amount of BLUE.

Below are some values displayed in a rectangle having the color generated by the 6 digit hexadecimal number.
|
| <FONT COLOR='FF0000'> | <FONT COLOR='00FF00'> |
| <FONT COLOR='0000FF'> | <FONT COLOR='AAAAAA'> |