Difference between revisions of "CSS GUIDE COLOR"

From CDOT Wiki
Jump to: navigation, search
(Legal Values)
(Legal Values)
Line 22: Line 22:
 
== Legal Values ==
 
== Legal Values ==
 
Values can be entered in 3 ways:
 
Values can be entered in 3 ways:
*Hexadecimal (preferred)
+
 
*Color Name
+
*Hexadecimal (preferred) - Range: #000000 - #ffffff
*RGB Value
+
*Color Name - red, blue, green
 +
*RGB Value - (10,20,30)
  
 
See [[#Usage Examples | usage examples]] section for more details.
 
See [[#Usage Examples | usage examples]] section for more details.

Revision as of 13:20, 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:

  • Hexadecimal (preferred) - Range: #000000 - #ffffff
  • Color Name - red, blue, green
  • RGB Value - (10,20,30)

See usage examples section for more details.

Mozilla Recommended Values

Usage Examples

Notes

Specification Conformance

Browser Compatibility

See Also