Saturday 11 May 2013

HTML Color Code

HTML knows only 17 Major colors( excluding transparent).
But There are So many Colors around.
We use RGB( Red, Green, Blue) Colors which are best For Browser.
We will Hexadecimal color code here.
 In Hexadecimal color coding, our use:
0, 1,2,3,4,5,6,7,8,9,a,b,c,d,e,f
 minimun value is 0, and maximum is f.

Way to write a color in Hexadecimal Color Code:
#------;
There are total six digits. First two represent red, next two represents green and last two blue.

Black  #000000;
White  #ffffff;
Red #ff0000;
Green #00ff00;
Blue #0000ff;

Rest all color are mixture of above values;





No comments: