This is the print version of http://www.quackit.com/css/properties/css_color.cfm
The CSS color property is used for setting the color (more specifically, the foreground color) of elements. The color property can be used in conjunction with the backgound-color property to achieve the desired effect.
Choose your colors quickly with the HTML color picker.
| Syntax: | color: <value> |
| Possible Values: |
|
| Initial Value: | Depends on the user agent. For example, your browser sets its own default colors for different elements. |
| Applies to: | All elements |
| Inherited: | Yes |
| Media: | Visual |
| Example: |
(These all acheive the same result)
|
| Try it yourself! |
|