Color
Syntax: |
color: <color>
|
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 color rules include:
H1 { color: blue }
H2 { color: #000080 }
H3 { color: #0c0 }
To help avoid conflicts with user style sheets, background and color properties should always be specified together.
Maintained by John Pozadzides and Liam Quinn
CSS Index ~ CSS Structure ~ CSS Properties
Copyright © 1997 John Pozadzides and Liam Quinn. All rights reserved.