Introduction Of HTML Color

These are the colors used in the Html Here colors are defined using a hexadecimal notation for the combination of Red, Green, and Blue color values (RGB). The lowest value that can be given to one light source is 0 (hex #00). The highest value is 255 (hex #FF).
 
We write the Hex color using six bits, as HEX color code of black color is #000000. Hex color code is the combination of Red, Green, Blue (RGB) colors. First two zero’s in the code represents the Red color, third & fourth zero’s represents the Green color and fifth & sixth zero’s represents the Blue color. ‘F’ is the maximum value of each zero. Hence if want the HEX color code of red color then just make the write the the maximum value of the zero’s representing the Red color. i.e Hex color code for red color is #FF0000. Similarly you can create the HEX color code for Green & Blue also.
 
To use these colors in your HTML page you will have to simply select the color which you like then note down it’s Hex color code or RGB color code and write this color code in your page color attribute.