Web-safe colors (216)

The web-safe palette has 216 colors: every combination of the six channel values 00, 33, 66, 99, CC and FF (6 × 6 × 6).

Red 00

Red 33

Red 66

Red 99

Red CC

Red FF

Why 216 colors?

In the 1990s many displays showed only 256 colors. Browsers reserved 40 for the operating system and used a 6 × 6 × 6 color cube for the rest, so these colors displayed without dithering everywhere. Modern screens show millions of colors, so the palette is now mostly of historical and stylistic interest. Every web-safe color can be written as 3-digit hex, e.g. #3c9.

Frequently asked questions

Are web-safe colors still needed?
No. Since the 2000s practically every display shows 24-bit color. Designers sometimes still use the palette for its simple, recognizable values.