PB
Available
palette
lock Free · Private · In-Browser

Nearest Web-Safe Color

Snap any color to the nearest web-safe (216-color) value.

Original
Web-safe

Snap to the web-safe palette

The web-safe palette is the classic set of 216 colors whose channels are each a multiple of 51. It is a relic of 8-bit displays, but it still makes a clean, limited palette for retro looks and constrained designs.

Pick any color and this finds the nearest web-safe value by rounding each channel to the closest of the six levels, showing the original and the snapped color side by side for comparison.

Simple and private

It rounds the channels in your browser, so the conversion is instant and nothing you pick is uploaded.

Frequently Asked Questions

What is a web-safe color?

One of the 216 colors whose channels are all multiples of 51 (00, 33, 66, 99, CC, FF). They date from 8-bit displays and still make a tidy, limited palette.

Is web-safe still necessary?

Not for modern displays, but the palette is handy for retro aesthetics, dithering, and constrained designs.

How does it find the nearest?

It rounds each RGB channel to the closest of the six web-safe levels, which is the standard mapping.

Take it further
All Free Tools

Browse the full set of free, private, in-browser tools.

Learn More arrow_forward