Color Converter

Convert colors between HEX, RGB, HSL and CMYK instantly. Live preview included — no sign-up needed.

🎨 Color Input
#1a9e7e
Copy HEX
Copy RGB
Copy HSL
Copy CMYK
Quick Swatches

What is a Color Converter?

A color converter translates color values between different formats used in design and development. Different tools and contexts require different formats — CSS uses HEX and RGB, design tools use HSL, and print design uses CMYK. Our converter handles all of them instantly.

Color Format Guide

HEX (Hexadecimal)

The most common format in web development. A # followed by 6 hexadecimal digits representing Red, Green, and Blue channels. Example: #1a9e7e

RGB (Red, Green, Blue)

Defines color as three values (0–255) for red, green, and blue channels. Widely used in CSS and digital displays. Example: rgb(26, 158, 126)

HSL (Hue, Saturation, Lightness)

A more intuitive model for designers. Hue is 0–360 degrees on the color wheel, saturation and lightness are percentages. Example: hsl(164, 72%, 36%)

CMYK (Cyan, Magenta, Yellow, Key/Black)

Used in print design and printing presses. Values are percentages of each ink color. Example: cmyk(84%, 0%, 20%, 38%)

Which color format should I use in CSS?
HEX is most common and widely supported in CSS. RGB is useful when you need alpha transparency (rgba). HSL is great when you want to programmatically adjust lightness or saturation. All three are supported by every modern browser.
Why can't I convert CMYK to HEX perfectly?
CMYK is a subtractive color model used for print, while RGB/HEX are additive models for screens. The color gamuts don't overlap perfectly, so some CMYK colors can't be exactly represented on screen, and vice versa. Conversions are approximations.