
December 24, 2011
June 24, 2011
January 24, 2011
December 19, 2010
June 2, 2010
April 22, 2010
April 2, 2010
April 1, 2010
March 30, 2010
February 12, 2010
February 4, 2010
January 29, 2010
February 4, 2010
Hexadecimal simply refers to a system of numerical notation that uses 16 rather than 10 as its base.
For example:
p {color: #000000; /* Black */}p {color: #ffffff; /* White */}p {color: #336600; /* Green */}
The first two digits represent how much red to use, the second two are for green, and the last two are for blue. Since RGB is additive, or all colors added together make white, I think of 0 as being the least amount of light being added. So, #000000 is black, #ffffff is white.
The hexadecimal system counts as 0 1 2 3 4 5 6 7 8 9 a b c d e f with 0 being the least amount of light, and F being the most amount of light.
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | a | b | c | d | e | f |
Web safe colors aren’t really necessary anymore, since everyone has great monitors, but they are easier to type and remember.
Rollover a color to get a tool tip of the hexadecimal color code.
If the color is Web safe, I like to shorten each pair to three digits instead of six:
p {color: #000; /* Black */}p {color: #fff; /* White */}p {color: #360; /* Green */}