http://fishcaro.crosswinds.net/day_27_web_safe_colors.htm
So, what's a web designer to do? Today's lesson offers one possible solution to this problem...
INDEX CARD #27:
COLOR PALETTES (27a)What is a "system palette"? For system-level operations, computers use a specific set of 256 colors, called the system palette. MACs and PCs use slightly different sets, but there are 216 colors that are shared by both system palettes. What is the "web palette"? The web palette consists of the 216 colors that are shared by the MAC and PC system palettes. These 216 colors will render correctly on both MAC and PC displays. (However, these colors may shift or dither on UNIX terminals.) The "web palette" is also known as the Netscape Palette, Netscape 216, Browser-Safe Palette, Web-Safe Palette, Non-dithering Palette, and the 6×6×6 cube. (This last name should make more sense momentarily.) What is "color shifting"? Non-web-safe-colors specified in an HTML document are usually replaced by the nearest available Web Palette color; this effect is called color shifting. Do you see different colors below? If not, then color shifting has taken place! |
COLOR NUMBERS for the WEB PALETTE (27b)Thus, there are 6 choices for RR; there are 6 choices for GG; and there are 6 choices for BB. Together, there are 6×6×6 = 216 web-safe colors. This is why the web-safe colors are sometimes referred to as the 6×6×6 cube. For example, #33FF00 is a web-safe color, but #33FF01 isn't. What are the advantages to using only web-safe colors when designing graphics and HTML pages? You'll know exactly what your page will look like (color-wise, at least) to all your viewers. (Well... different users may have set their preferences to use different link colors, or different text colors ...) |
Printable version of Index Card 27a
Printable version of Index Card 27b
WORKSHEET #27:
http://www.oreilly.com/catalog/wdnut/
ASSIGNMENT #27: