5. Color and Background Properties

Color forms the cornerstone of all design, creating the first impression that most people will have of your site. Using bright, vibrant. jewel-tone colors makes a radically different statement than earth tones would make. Even if you choose not to use any colors, creating your design in black and white makes a statement. Beyond their visual language, colors can also guide the viewer’s eye around the page, helping you to highlight important areas while downplaying others.

In this chapter, you will learn the primary methods designers use to add and control color, including the foreground color used for text and background colors. Keep in mind, however, that there are several other CSS properties in which you can ...

Get CSS, DHTML, and Ajax: Visual QuickStart Guide, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.