color

color

The color property sets the foreground color of an element's text content, and its decorations.

/* Keyword values */
color: currentcolor; /* Use the color of this element's direct ancestor */

/* <named-color>  values */
color: red; /* CSS Level 1 color */
color: orange; /* The only color added in CSS Level 2 (Revision 1) */
color: tan; /* CSS Color Level 3 color, sometimes called SVG or X11 color */
color: rebeccapurple; /* The only color keyword added in CSS Color Level 4 */

/* <hex-color> values */
color: #0f0; /* The color 'lime' with the 3-character notation */
color: #00ff00; /* The color 'lime' with the 6-character notation */
color: #0f0a; /* CSS Color Level 4 color in 4-character notation */
color: #00ff0080; /* CSS Color Level 4 color in 8-character notation*/

/* <rgb()> values */
color: rgb(34