HTML and CSS Reference
In-Depth Information
4.
View the site's pages in the browser.
The background color of each page should now be pale yellow.
Hexadecimal colors
The ffffcc that stands for pale yellow is a hexadecimal color.
Hexadecimal colors allow you to specify colors more precisely than
you can with words.
For shades of color, hexadecimals must be used. They work like this:
Computers show color as a mix of red, green and blue. In
hexadecimal colors, the first pair of letters or numbers signify red, the
second pair signify green, and the third pair signify blue:
Red Green Blue
ff ff cc
The color values go from the maximum amount of color ( ff ) to no
color at all ( 00 ):
Max
Mid-range
None
ff cc 99 66 33 00
Navy blue would be shown in hexadecimals as no red ( 00 ), no green,
( 00 ), and a little bit of blue ( 66 ):
000066
Search WWH ::




Custom Search