Color Converter

Paste a color in any format, or pick one, and get it in every other format, ready to copy.

Accepts HEX, rgb(), hsl(), hsv(), cmyk() and color names like teal.

How to use the color converter

Type or paste a color into the box, or pick one with the color picker. Every format updates instantly; click Copy next to the one you need. The link in your address bar also updates, so you can share a color.

Color formats explained

Extra formats for developers

The page also shows the contrast of your color on white and on black, with a link to the contrast checker for a full check.

FAQ

Is the CMYK value exact for printing?

It's the standard mathematical conversion. Professional printing uses color profiles that depend on the paper and printer, so ask your print shop for the final values if color accuracy matters.

Why do HSL values round slightly differently in other tools?

Converting between formats involves rounding. A difference of one unit is normal and invisible to the eye.

Which color names can I type?

Any named color that CSS knows, such as teal, coral or rebeccapurple.

What about transparency?

The converter works with solid colors, so a transparency (alpha) value in your input is left out of the results.