🎨 Color Converter

Convert colors between HEX, RGB, HSL and CMYK.

Pick a colour

#3B82F6
HEX#3B82F6
RGBrgb(59, 130, 246)
HSLhsl(217, 91%, 60%)
CMYKcmyk(76%, 47%, 0%, 4%)

This color converter changes colors between HEX, RGB, HSL and CMYK in real time. It suits web designers, graphic artists and developers who need the same color in different code formats quickly and in a ready-to-copy form.

How the calculator works and what it’s for

How the color converter works

The converter reads the color you provide in one format and calculates the matching values in the others. HEX and RGB describe the same mix of red, green and blue in different ways, while HSL describes a color as hue, saturation and lightness.

CMYK in turn describes a color as the amounts of cyan, magenta, yellow and black used in print. The conversion between these is mathematical, so the same color is preserved as closely as possible from one model to another.

What you enter and what you get

You can pick a color with the selector or type a code, such as a HEX value. The converter then shows the same color in every supported format.

The codes come ready to copy, so you can drop the color straight into CSS styles, a design app or print material without converting it by hand.

Who it helps

A web developer often needs a HEX or RGB value for CSS, while print work calls for CMYK values. The color converter brings these worlds together in a single tool.

It is also handy for documenting brand colors, when you want to make sure the same shade appears consistently on screen and in print.

Good to know

Screens use light-based models such as RGB and HSL, while print relies on the ink-based CMYK model. Because of this, not every bright on-screen color can be reproduced exactly in print.

Treat CMYK values as a guide for print work and confirm the final shade with your print provider when color accuracy is critical.

🔄 Reviewed June 2026

Frequently asked questions

Related calculators