Colors and Web Pages
In Web pages, each color you can use is represented by a hexadecimal code, a six-digit number that represents a particular color.
There are many different color selections you can make for your Web pages, including background color, text color, link color, active link color, and visited link color. You can also choose colors for text selections, image borders, table backgrounds, table borders, frame borders, layers, and more.
This isn't even counting any colors that appear in images you add to your pages.
In general, it's a good idea to keep a fixed color scheme in mind while planning your pages. It's an even better idea to plan text and background colors with readability in mind; if you clash yellow text with an orange background, it may look striking, but no one will stick around to read a page that gives them a headache.
You can choose from millions of colors or only Websafe ones using the System color picker, which you can get to by clicking on the Color Wheel button on the color picker (Figure 3.53). Mac and Windows versions of the dialog box are quite different; we'll look at both in detail. Additionally, you can click on the menu button to array the colors in different patterns (Figure 3.54). The first two are Websafe; the latter three aren't. See the sidebar Browser-Safe Colors, later in this chapter, for more.
Figure 3.53 Click any Color button, such as the Background color box in the Page Properties dialog box, or the text color button on the Property inspector, and the color picker will appearthen just click on a color to select it. That includes colors not only in the picker but anywhere on your desktop.
Figure 3.54 Different views of the color picker: Color Cubes, Continuous Tone, Windows OS, Mac OS, Grayscale. Obviously, these all look grayscale in a black-and-white book. Color Cubes and Continuous Tone are Web safe palettes; see the sidebar Browser-Safe Colors for more.