HTML & CSS In Pictures
  1. 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). For example, Navy blue would be shown in hexadecimals as no red (00), no green, (00), and a little bit of blue (66):

000066