This property sets the foreground color of an element's text content and its decorations.
CSS Level | Value |
---|---|
CSS 2.1 | <color>, where <color> is either a color keyword or a numerical RGB specification |
CSS3 | <color>, where <color> is either a color keyword, a numerical RGB specification, or a function like rgb(red,green,blue), rgba(red,green,blue,alpha), hsl(hue,saturation,lightness), or hsla(hue,saturation,lightness,alpha) |