Appearance:
color: <colour>
Initial Value:
Determined by browser
Applies to:
All elements
Inherited:
Yes

The color property allows authors to specify the color of an element. See the Units section for color value descriptions. Some example colour rules include:

<H1 style="color: blue">This is an H1 heading</H1>
<H2 style="color: #000080">This is an H2 heading</H2>
<H3 style="color: #F00">This is an H3 heading</H3>

would be displayed like this:

This is an H1 heading

This is an H2 heading

This is an H3 heading