Utilities

Color Formats

Convert HEX, RGB, HSL, HSV, CMYK, and CSS color names.

Examples: #f5a623, rgb(245,166,35), hsl(37,90%,55%), blue, cmyk(0%,32%,86%,4%).

HEX#f5a623
RGBrgb(245, 166, 35)
RGBArgba(245, 166, 35, 1.00)
HSLhsl(37, 90%, 55%)
HSLAhsla(37, 90%, 55%, 1.00)
HSVhsv(37, 86%, 96%)
CMYKcmyk(0%, 32%, 86%, 4%)
CSS NameNo exact CSS name

About Color Converter

Type a color as HEX, rgb(), hsl(), hsv(), cmyk() or a CSS color name, and the converter shows it as HEX, RGB, RGBA, HSL, HSLA, HSV and CMYK, each with its own copy button. When the color matches a named CSS color exactly, that name appears too. HSV is the model many design apps call HSB. HSL and HSLA round the saturation to steps of 5 percent, so copy HEX or RGB when the value has to be exact.

Frequently asked questions

Why don't CMYK colors round-trip cleanly?

The CMYK values are rounded to whole percentages, so converting them back can shift a channel slightly. They also come from the simple formula without a color profile, so they won't match the CMYK values a print shop uses for its paper and ink.

Can I use named CSS colors?

Yes. Type 'tomato' or 'rebeccapurple' and the tool resolves to the matching HEX before converting.