color | WebReference

color

Name: color

Description: Specifies the forground color of the element, which means the color of the text.

Browser Compatibility: IE 3+ / NN 4+ / 0 3.5+

Inherited: Yes

Values:

Code Example:

em {background-color: inherit; color: #0000FF;}

Comments: Should be used in conjunction with the background-color property.