Color Format Converter

Free

Convert colors between HEX, RGB, HSL, and CMYK instantly.

Runs entirely in your browser. Nothing you enter is uploaded or stored.

HEX
RGB
HSL
CMYK
This tool runs entirely in your browser — nothing you enter is uploaded or stored.

How it works

What are HEX, RGB, HSL, and CMYK, and when is each used?

HEX (like #3B82F6), RGB (red/green/blue, 0-255 each), and HSL (hue/saturation/lightness) all describe color the way screens actually produce it — light, added together — and are what you'll use in CSS, design tools, and anywhere else on the web. CMYK (cyan/magenta/yellow/black percentages) is different: it's how printers mix ink, a subtractive process, and is the format print shops and print-design software expect.

How accurate is the CMYK conversion?

It's a reasonable approximation, not an exact print-color match. Screens create color by emitting light (additive — RGB) and printers create color by mixing ink on paper (subtractive — CMYK), and those two processes simply don't reproduce color the same way. A true, exact conversion needs a real color-managed workflow with ICC profiles calibrated to a specific printer and paper stock — something a browser-based calculator can't replicate. Use this conversion as a solid reference starting point, not a guarantee that what you see on screen is exactly what will print.

Can I type a value directly instead of using the color picker?

Yes — every format's fields accept direct typing or pasting, not just the color picker. That's the more common real use case: you already have a color value from somewhere (a design spec, a style guide, another tool) in one format and need it in another, so just type or paste it into that format's field and every other format updates immediately.

Is anything I enter here sent anywhere?

No — every conversion happens locally in your browser.

Related tools