Web Safe Colors
216 colors — 6 levels per channel, 6 × 6 × 6. Click any color to copy its hex code, or click a swatch to set it as the current color.
Red = 00 (36 colors)
Red = 33 (36 colors)
Red = 66 (36 colors)
Red = 99 (36 colors)
Red = CC (36 colors)
Red = FF (36 colors)
All 216 web-safe colors with hex codes: every combination of 00, 33, 66, 99, CC, FF in each channel. Click any color to copy it — plus what “web safe” meant in the 1990s and why it is obsolete today.
The web-safe palette is 216 colors: each channel is one of 00, 33, 66, 99, CC, FF, so 6 × 6 × 6 = 216. Click any color below to copy its hex code.
What did “web safe” mean?
In the mid-1990s, most computer screens could only show 256 colors at once. Of those 256, operating systems reserved about 40 for their own interface, leaving 216 colors that a web page could rely on: every combination of six levels — 00, 33, 66, 99, CC, FF (0, 51, 102, 153, 204, 255) — in each of the red, green, and blue channels. 6 × 6 × 6 = 216. A color from this set would look the same on Windows and Mac, in Netscape and Internet Explorer, without dithering — the speckled pattern screens used to fake a color they could not display. Designers who stuck to these 216 colors knew their pages would look right everywhere.
Why it is obsolete today
Modern screens display 24-bit “true color” — 16,777,216 colors — so the 256-color limit is gone, and no browser dithers anymore. There is no technical reason to restrict a website to the web-safe 216, and doing so would throw away almost all the colors available. The palette survives as a reference: it is an evenly spaced grid through color space, which makes it a handy source of distinct, easy-to-name colors, and a useful teaching example of how hex codes work (each channel steps through the same six values).
How to use this table
Click any color to copy its hex code. The table is grouped by the red channel, so each block of 36 shares one red value while green and blue run through all six levels. If you want the color in another format, paste its hex code into the color converter for RGB, HSL, HSV, and CMYK. And if you need a color that is not in this table — most modern designs do — the color picker covers all 16,777,216 of them.
Frequently asked questions
How many web-safe colors are there?
216. Each of the red, green, and blue channels has 6 levels (00, 33, 66, 99, CC, FF), so there are 6 × 6 × 6 = 216 combinations.
What are the web-safe color values?
Each channel is one of 00, 33, 66, 99, CC, or FF — in decimal, 0, 51, 102, 153, 204, or 255. For example, #FF9900 (orange) is web-safe, but #FF5733 is not, because 57 and 33 are not in the set (33 is, 57 is not).
Are web-safe colors still needed?
No. The web-safe palette solved a 1990s problem: 256-color displays that dithered other colors. Modern screens show 16.7 million colors, so the constraint is obsolete. The table remains useful as a reference and as an evenly spaced palette.
Why 216 and not 256?
A 256-color display reserved about 40 colors for the operating system's own interface, leaving 216 colors a web page could safely use. The 6 × 6 × 6 cube was the largest evenly spaced set that fit in the remaining space.
Related tools
Color Chart · Tailwind Colors · Color Converter · Color Picker · Color Names