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.
| 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! |