A color can be specified in two ways :
* A color is represented by 6 characters i.e. hexadecimal color coding. It is a combination of numbers and letters and is preceded by #.
Ex : g {color: #00cjfi}
* A mixture of red, green and blue represents a color. The value of a color can also be specified.
Example : rgb(r,g,b):
In this type the values can be in between the integers 0 and 255. rgb(r%,g%,b%): red, green and blue percentage is shown.