NumberTruthUnit Converter · Calculator Grid

Color Converter (HEX, RGB, HSL, HSV, CMYK)

Convert colors between HEX, RGB, HSL, HSV and CMYK with a graphical color picker and live preview.

Colors

HEX · RGB · HSL · HSV · CMYK

Equivalents
HEX#1F7BFF
RGBrgb(31, 123, 255)
HSLhsl(215, 100%, 56%)
HSVhsv(215, 88%, 100%)
CMYKcmyk(88%, 52%, 0%, 0%)
Your inputs are encoded in this URL — copy it to share a configured calculator.

About this tool

Convert any color across the five most common digital formats. Edit the value in your preferred format, see all others update live, and pick a new color graphically with the swatch.

Formula

All conversions pivot through RGB. HEX is a base-16 encoding of RGB. HSL/HSV are cylindrical re-parametrizations of RGB. CMYK is a subtractive approximation: K = 1 − max(R,G,B).

Worked example

#1F7BFF → rgb(31, 123, 255) → hsl(215, 100%, 56%) → cmyk(88%, 52%, 0%, 0%)

Notes

CMYK conversion is only an approximation since true CMYK depends on the printer's ink profile. For print-accurate work, use ICC color management.