Colors are displayed combining RED, GREEN, and BLUE light.




Color Values

HTML colors are defined using a hexadecimal notation (HEX) for the combination of Red, Green, and Blue color values (RGB).
The lowest value that can be given to one of the light sources is 0 (in HEX: 00). The highest value is 255 (in HEX: FF).
HEX values are specified as 3 pairs of two-digit numbers, starting with a # sign.


Color Values

Color / Color HEX / Color RGB
Black / #000000 / rgb(0,0,0)
Red / #FF0000 / rgb(255,0,0)
Green / #00FF00 / rgb(0,255,0)
Blue / #0000FF / rgb(0,0,255)
Yellow / #FFFF00 / rgb(255,255,0)
Teal-Aqua? / #00FFFF / rgb(0,255,255)
Purple / #FF00FF / rgb(255,0,255)
Gray / #C0C0C0 / rgb(192,192,192)
White / #FFFFFF / rgb(255,255,255)


16 Million Different Colors


The combination of Red, Green, and Blue values from 0 to 255, gives more than 16 million different colors (256 x 256 x 256). Try it yourself

read more here...


Large color chart: