What are web-safe colors?
In the 1990s many computer screens could show only 256 colors. Browsers reserved a fixed set of 216 colors that looked the same on every system, and designers stuck to them to avoid dithering. In this set each red, green and blue channel is one of six values: 00, 33, 66, 99, CC or FF. That gives 6 × 6 × 6 = 216 colors.
Do I still need them?
No. Modern screens show millions of colors, so you can use any HEX code. The web-safe palette is still useful as a small, evenly spaced reference set, for retro and pixel-art styles, for email and legacy systems with limited color support, and for the short three-digit form of HEX: every web-safe color can be written as #369 instead of #336699.
Nearest web-safe color
Type or pick any color in the finder at the top. Each channel is rounded to the nearest of the six levels, which gives the closest web-safe color. Click the result to copy it. The grid below shows all 216 colors in six blocks, one per red value. Click any color to copy its HEX code.