All 216 web-safe colors, organized by hue. Click any swatch to copy the hex code.
Web safe colors are 216 colors that display consistently across all browsers, operating systems, and monitors, including those limited to 256 colors. The set comes from using only six values per RGB channel: 0, 51, 102, 153, 204, and 255 (hex: 00, 33, 66, 99, CC, FF). Six choices per channel, three channels, gives you 6 × 6 × 6 = 216 colors.
In the mid-1990s to early 2000s, most monitors could only show 256 colors at once. Any color outside this set would shift or dither on those screens, so designers stuck to the 216-color palette to keep results predictable.
Today, virtually all screens support millions of colors, so the web-safe palette isn't a technical requirement anymore. However, it remains useful as a constrained, high-contrast starting point for color selection, and some retro or pixel-art design styles intentionally use it for aesthetic reasons.