CSS colors and what are the different values we can provide it. The color CSS property sets the foreground color value of an element’s text and text decorations, and sets the value. currentcolor may be used as an indirect value on other properties and is the default for other color properties, such as border-color.
Colors are specified using predefined color names, or RGB, HEX, HSL, RGBA, HSLA values.