The color property controls the colour of a tag. You can use it with a variety
of tags
Property
|
Description
|
Values
|
Example
|
color
|
Sets colour.
|
color-name
RGB code
ActiveBorder
ActiveCaption
AppWorkSpace
Background
ButtonFace
ButtonHighlight
ButtonShadow
ButtonText
CaptionText
GrayText
Highlight
HighlightText
InactiveBorder
InactiveCaption
InactiveCaptionText
InfoBackground
InfoText
Menu
MenuText
ScrollBar
ThreeDDarkShadow
ThreeDFace
ThreeDHighlight
ThreeDLightShadow
ThreeDShadow
Window
WindowFrame
WindowText
|
{color: blue}
|
|
|
More information
Quick CSS reference sheets
Font properties
Text properties
Color property
Background properties
Box properties
Positioning and display properties
List properties
Generated content properties
Dynamic outline properties
Table properties
Pseudo class and element properties
Printing properties
Media type properties
Aural properties
|