• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 7. CSS UNITS > Color Formats

Color Formats

Web authors have long been used to adding color to such things as backgrounds and fonts in their Web pages. Web authors could use either a predefined color name (i.e., "BLUE", "MAROON", "FUCHSIA" etc) or a hexadecimal value (i.e., "#FF0000" for red) to set the color. CSS expands this use of color to almost every displayable HTML tag, and also provides additional ways to set color values.

Figure 7-2. The effects of percentage values applied to margin values.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint