Difference between revisions of "CSS GUIDE COLOR"

From CDOT Wiki
Jump to: navigation, search
(Summary)
(Legal Values)
Line 21: Line 21:
 
   
 
   
 
== Legal Values ==
 
== Legal Values ==
PX preferred.
+
Values can be entered in 3 ways:
 +
*Color Name:
 +
*
 +
*
 +
 
 +
See [[#usage examples]] section for more details.
 +
 
 +
The color value can be a color name (red), a rgb value (rgb(255,0,0)), or a hex number (#ff0000).PX preferred.
  
 
== Mozilla Recommended Values ==
 
== Mozilla Recommended Values ==

Revision as of 13:14, 28 October 2006

This document is a work in progress and is subject to change.

Summary

The color property is used the set the text color for a given element.


Applicability:The color property can be used for all CSS elements.
Media Group: Visual
Inherited:Yes

Syntax

Legal Values

Values can be entered in 3 ways:

  • Color Name:

See #usage examples section for more details.

The color value can be a color name (red), a rgb value (rgb(255,0,0)), or a hex number (#ff0000).PX preferred.

Mozilla Recommended Values

Usage Examples

Notes

Specification Conformance

Browser Compatibility

See Also