RGBA to HEX Converter
Turn an RGBA colour into an 8-digit HEX code, or flatten the alpha away.
The 216 web-safe colours, and why they no longer matter.
The colours appear here
The Web Safe Colors Chart shows all 216 colours of the old browser-safe palette with their values, alongside a straight answer about what it was for and why the constraint no longer exists.
The web-safe palette is the 216 colours formed by every combination of 00, 33, 66, 99, CC and FF in the three channels. The whole chart is here, searchable, with every value ready to copy.
It existed to solve a problem that no longer exists. Monitors in the mid-1990s displayed 256 colours at a time, and browsers on Windows and Mac reserved different system colours from that palette — leaving 216 that both agreed on. Anything outside them was dithered into a speckled approximation, so designers restricted themselves to the safe set.
Every screen made in the last twenty years displays at least 16 million colours, so the constraint is gone entirely. The palette survives as a tidy, evenly spaced grid that is occasionally handy for a quick placeholder, and as a piece of web history that explains why #336699 turns up so often in code from that era. This chart presents it as both, with the hex-shorthand form each colour can be written in.
All 216, arranged so the six-value structure of the palette is visible at a glance.
Paste one in to see whether it is web-safe and which safe colour is nearest.
Every web-safe colour has a three-digit form — which is the quickest way to spot one.
The palette solved a 256-colour display problem that no device has had for twenty years.
Any colour, full or shorthand.
All 216, arranged by red value so the structure is visible.
Any colour, in full or shorthand hex.
Paste one in to see whether it is web-safe and which safe colour is nearest.
To find the usable ones quickly rather than scrolling the whole grid.
No. Every device in use displays millions of colours. The palette is a historical artefact, useful now only as a tidy evenly spaced grid.
Six values per channel, cubed. Six was what remained after Windows and Mac each reserved around twenty system colours from the 256-colour palette, so 6 × 6 × 6 = 216 was the set both agreed on.
Yes, and that is a giveaway. Every web-safe colour has matching digit pairs, so #336699 can be written #369. If a colour has a three-digit form, it is web-safe.
Not for display, but the idea survives in design system scales — a constrained, evenly spaced set of colours everyone agrees to use. The constraint is now editorial rather than technical.
What people who use the Web Safe Colors Chart think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the Web Safe Colors Chart. It takes half a minute and no account.
Write the first reviewTurn an RGBA colour into an 8-digit HEX code, or flatten the alpha away.
Compute WCAG relative luminance and see the maths behind it.
Convert colour temperature in kelvin to an RGB colour.
Check whether a colour code is valid, and fix it if not.
Generate a Material palette, primary through A700.
Find the true complement of any colour, and the near ones.
Build conic gradients — pie charts, colour wheels and sweeps.
Build a duotone pair and get the CSS to apply it.