The Hexadecimal Color System
| 0 through 15! That's it. |
| In the decimal system each digit can assume 10 values, 0 through 9. In the
hexadecimal system, each digit can assume 16 values (by the way, hex means 6 and decimal means 10).
0,1,2,3,4,5,6,7,8,9,A,B,C,D,E and F. 0 is the
minimum value and F, the maximum, equivalent to 15 in decimal. The hexadecimal coloring system uses the
following general
form: #hhhhhh. Each h stands for a hexadecimal digit. The first two h's belong to red, the
second two to green and the last two to blue. To specify the color blue you'd use: #0000ff. For
red you'd use #ff0000. White is #ffffff while black is #000000. The higher the number for that
color, the more of the that color will be used. Here is the syntax to specify a color using the hexadecimal system When used with the body tag <body bgcolor=#hhhhhh> When used with the font tag <font color=#hhhhhh> Each 'h' can be any value 0 through F. It takes a lot of experimentation to get the hang of it, so just try out stuff. Note that small changes won't make a difference on the screens of most web users because there browser is set to only display 65,000 different colors instead of the full 16 million that hex lets you define (only 65K, so limiting). |