7.3. Interesting Uses of Color

Coloring text, backgrounds and borders is all well and good—and not terribly complicated—but of what use other than aesthetics can it be? In this section, I'll outline three specific examples of using color combinations to produce useful results.

7.3.1. Warnings and Cautions

In online documentation, it is frequently useful to call specific attention to pieces of information that are of particular importance to the reader. Printed manuals, generally produced in black-and-white, rely on typographic techniques to accomplish this attention-getting: boxes, bold or italic type, special fonts, and the like.

On a Web page, where color is more freely usable, we can use these typographic techniques as well, but we can ...

Get HTML Utopia: Designing Without Tables Using CSS 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.