Color · Made a little simpler

Web Safe Colors Reference

Browse all 216 web-safe colors or filter by red level. Snap an opaque sRGB color to the nearest RGB cube point and download the swatches as CSV.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Nearest web-safe color · #6699CC

Channel changes · R +11 · G +17 · B +5

216 of 216 colors

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Web Safe Colors Reference: how to use it

  1. Enter an opaque HEX, RGB, HSL or named color to test it against the palette.
  2. Review the nearest HEX and the signed change to each sRGB channel. Select a swatch to inspect an exact match.
  3. Choose a red level or show the full chart and download the visible swatches as CSV.

Limits and notes

The historical palette contains every combination of the six RGB byte values 0, 51, 102, 153, 204 and 255. Matching rounds each encoded sRGB channel to its nearest level. The table represents opaque colors.

How your privacy works →

Web Safe Colors Reference: common questions

How are the 216 colors generated?

Each of the three channels has six possible byte values, giving six times six times six combinations.

What does nearest mean here?

The tool rounds the red, green and blue bytes independently to the closest levels in the cube. This minimizes squared distance in encoded RGB.

Does Download visible colors CSV include every swatch?

With All red levels selected it includes all 216 entries. A single red level exports the 36 matching entries.

Do modern browsers require this palette?

The palette is a historical reference for limited-color displays. Modern browsers accept a much wider range of CSS colors.

Guides