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%).
#f5a623rgb(245, 166, 35)rgba(245, 166, 35, 1.00)hsl(37, 90%, 55%)hsla(37, 90%, 55%, 1.00)hsv(37, 86%, 96%)cmyk(0%, 32%, 86%, 4%)No exact CSS nameAbout 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.