The color property allows you to specify the color of text inside an element. You can specify any color in CSS in one of three ways:
CSS treats each HTML element as if it appears in a box, and the background-color property sets the color of the background for that box.
You can specify your choice of background color in the same three ways you can specify foreground colors: RGB values, HEX and Color Names.
See the Picture below to know more about colors:



