hex code 00 - ff
count as 0-1-2-...-9-A-B-C-D-E-F no #10 coz it count as 16 in decimal, A represent 10 and B is 11, F is 15 and 10 is 16. how? F is 15 and G is supposed to be 16 but G and above is not a valid hex code so they made it 10( not ten but one-zero)
color code in hex must be in six(6) digits 123456
the first two(2) digit is red (the 12)
the third and fourth is green (34)
and the last is in blue(56)
these are the three main colors in color wheel. and you can mix these color to produce another color.
and in two digit hex 00 is the lowest(least), FF is the highest(more)
how it works? just like a color mixing w/ three colors in paint brush except it show an inverse color when these three color are mix together with a great amount. in paint brush when you mix red-green-blue the output is black but in html hex color it is white(FFFFFF) confuse?
back in hex color, 000000 is black and FFFFFF is white, in html black represents no color means red is zero(00), green is zero(00), and blue is zero(00) in hex 00000 and white represents that all color exist, more red(FF), more green(FF) and more blue(FF) in hex FFFFFF.
how about other colors?
it just like these, put more red color (FF) no green (00) and no blue(00) in hex FF0000. imagine a canvas that you paint with only red what color that you expect? of course red
more color?
back in white(FFFFFF) and black(000000) and what is middle color of it?
yes it's gray
From the previous one FF0000 is red, 00FF00 is green and 0000FF is blue,
Mixing red and green will output yellow (FFFF00) red –FF, green FF, and no blue -00
Green and blue will produce cyan, (00FFFF) no red – 00, green FF, and blue FF
And the combination of red and blue is magenta, (FF00FF), red FF, no green 00, and blue FF.
How to produce more color?
experiments
see also this post http://www.astahost.com/index.php?showtopic=254 from Darren it have the list of standard color for web that even the older pc can view expect B/W monitor


