The color CSS property sets the foreground color value of an element’s text content and text decorations. It doesn’t affect any other aspect of the element’s appearance. It can take several types of color values, such as keywords, hexadecimal, RGB, or HSL.

For instance, color: red; or color: #FF0000; will both render the text content of an element in red.