Translate a colour between every format you need in one place — HEX and RGB for the web, HSL for readable lightness tweaks, HSV for colour pickers, and CMYK for a print handoff. Type a value into any field and the rest update live beside a large swatch, so you can see exactly what you are working with. Shorthand hex, percentage channels, alpha, and the CSS named colours all parse, and every format stays in sync because they are all derived from one canonical value rather than recomputed from whichever box you touched last — which is what stops a colour drifting as you move it between formats. It is pure arithmetic in your browser: nothing is uploaded, and it keeps working offline.
| Model | Components | Best for |
|---|---|---|
| HEX | Red, green, blue as hex pairs | CSS, design handoff, the web's default notation |
| RGB | Red, green, blue 0–255 | Canvas, shaders, image code |
| HSL | Hue, saturation, lightness | Tweaking lightness and building tint or shade ramps |
| HSV | Hue, saturation, value | Colour pickers and design tool eyedroppers |
| CMYK | Cyan, magenta, yellow, black | Print — approximate on screen |
No, and no on-screen converter's is. This uses the standard device formula, which is a close approximation. True print colour depends on the ICC profile, the press, the ink and the paper, so treat the CMYK values here as a starting point and confirm with your printer's proof.
Yes. Set the alpha slider and you get the 8-digit HEX and rgba()/hsla() forms. Alpha is preserved across every format that can express it; HSV and CMYK have no alpha component, so they show the colour only.
Yes — 3, 4, 6 and 8 digit HEX are all accepted, with or without the leading hash. The 3 and 4 digit forms expand by doubling each digit, so #abc is the same colour as #aabbcc, exactly as CSS defines it.
All 148 of them, including the awkward ones like rebeccapurple, and both the gray and grey spellings. Type a name into the HEX field and it resolves; when a colour matches a named one exactly, the name is shown alongside it.
Because they recompute each field from the last one you edited, so every hop through HSL or HSV rounds the value again and the error accumulates. This tool keeps one canonical RGBA value and derives every field from it, so a colour survives any amount of switching between formats unchanged.
No. Every conversion is local arithmetic. No colour, palette, or anything else you enter is sent to a server, logged, or stored.
Whatever you type is normalised to a single canonical RGBA value, and every other format is derived from that one source. Keeping one source of truth is what prevents the rounding drift you get in converters that recompute each field from whichever box was edited last — round-trip a colour through HSL and back a few times in those and it slowly changes. HEX parsing accepts the 3, 4, 6 and 8 digit forms, doubling each nibble for the short ones; rgb(), hsl(), hsv() and cmyk() accept both comma and space separated arguments, percentage or absolute channels, and a slash-delimited alpha. HSL and HSV are derived with the standard hexcone conversions and CMYK with the naive device formula, which is an on-screen approximation: real print output depends on an ICC profile, the press and the paper. The 148 CSS named colours are resolved from a bundled lookup table. All of it is arithmetic running in your browser.