Color Converter
Convert any color into HEX, RGB, HSL, HSV, CMYK and OKLCH all at once, instantly.
Steps to convert a color with the color converter
- Paste or type any color into the field: a HEX code, rgb(), hsl(), hsv(), cmyk() or a CSS name like teal.
- Read it instantly rewritten into ten formats, from HEX and RGB through to OKLCH and web-safe.
- Click any format card to copy that value.
- Need just one pair? Use the quick-jump buttons to a dedicated converter like HEX to RGB.
What the color converter does
The color converter takes one color and rewrites it in every common notation at once, so a single value works wherever you need it. Paste a hex code from a design file and read back the rgb() for your JavaScript, the hsl() you want to hand-tune, and the cmyk() your printer expects, without doing the math yourself.
Every format the color converter reads and writes
Why an all-in-one converter beats single-pair tools
Single conversions like HEX to RGB are fine when the destination is fixed, but real work rarely is. The same brand color often has to land in CSS, a print file and a design system on the same day, and bouncing between separate one-way tools wastes time. Seeing every format for a color side by side, and copying whichever the moment calls for, is simply the faster way to work, which is why this hub leads the converters.
What people use the color converter for
- Turning a design-file HEX into rgb() or hsl() for code.
- Getting print-ready CMYK from an on-screen color before a proof.
- Moving a legacy HSL or RGB palette into modern OKLCH for a design system.
- Checking a color in every notation at once instead of guessing the conversion.
If you only ever need one specific pair, the dedicated tools are a click away: HEX to RGB, RGB to HEX, HEX to HSL and the rest are listed under the converter above.
HEX, RGB, RGBA, HSL, HSLA, HSV, CMYK and CSS color names are all recognised, with or without the function wrapper.
Ten at once: HEX, RGB, RGBA, HSL, HSLA, HSV, CMYK, OKLCH, LCH and the nearest web-safe color.
Yes. It uses the standard color formulas, and values like HSL are rounded only for readability.
No. The conversion runs entirely in your browser, so your colors never leave your device.