ptg16476052
170 LESSON 8: Using CSS to Style a Site
Web designers tend to prefer RGB or HSL notation because it is very easy to add opacity
information by switching to RGBa or HSLa.
Given that there are millions of possible colors, how do you find the colors you want to
use? Generally speaking, you’ll either use a color picker to choose a color from a palette,
or you’ll use a sampling tool to grab a color from a source on your screen—a picture, a
Web page, whatever.
Col or Schemer, available at http://www.colorschemer.com/online.html, is one of the bet-
ter color pickers on the Web. It enables you to view several colors next to each other to
see how they match and will even suggest colors that match the ones you choose. The
current Color Schemer interface appears in Figure 8.2.
Another is Adobe Color CC at https://color.adobe.com/. It makes it easy to create your
own color schemes and to browse and rate color schemes created by others. It’s a great
place to find inspiration if you’re thinking about adding color to a site.
If you want to sample colors from Web pages, there are browser add-ons like ColorZilla
for Firefox or Eye Dropper for Google Chrome. Most graphics programs also provide
color sampling tools that you can use.
FIGURE 8.2
Color Schemer.