Color Converter (HEX, RGB, HSL, CMYK)
Convert a color between HEX, RGB, HSL and CMYK instantly — type into any of the four fields and the rest update automatically, with a live preview.
When to use each format
All four describe the same color, but each is common in a different context:
| Format | Where it's used |
|---|---|
| HEX | CSS, web design, most graphic editors |
| RGB | CSS, screens, programming |
| HSL | CSS, thinking about color intuitively (hue, saturation, lightness) |
| CMYK | Printing — cyan, magenta, yellow and black |
Why CMYK is an approximation
The RGB↔CMYK conversion this tool uses is the standard formula (no specific printer's ICC color profile) — it's the same approximation most online converters use. For a color separation truly faithful for printing, a professional print shop uses its own printer and paper's color profile, not a generic formula.