+ 7
Anybody HELP?
How can I combine the letters and numbers in HTML color? in the lessons and comments i didn't see anyone and no ones answered me why is this #C1250F came out something like red color? how is in order like that?
2 Respostas
+ 7
Hexadecimal count with digit from 0 to F ( 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F -- 16 digits rather than 10 in decimal )
Number are composed as decimal, but with more digit: 8, 9, A, B, C, D, E, F, 10, 11... 1F, 20...
In the 6 digits hexadecimal number of a color code, you must consider pairs. Each one encode the level of respectively red, green, and blue.
Full red and full green make yellow
Full red and full blue make magenta
Full green and full blue make cyan
Full of three make white
Zero of three make black
All three values equal make gray level
With this basics, you'll be able to evaluate the real color produced by any color code ;)