Color Converter
convert between HEX, RGB, HSL, HSB, and CMYK color formats
By Bikram NathLast updated
Paste any color in HEX, RGB, HSL, HSB/HSV, or CMYK and all remaining formats update instantly. The typical use is bridging Figma and CSS: input HSL(217, 91%, 60%) and immediately read the HEX (#4A90E2) or RGB equivalent. Unlike single-direction tools, this surfaces all five formats at once, so you can pull a CMYK approximation for print without opening a second tool.
Try it now — free, instant, no signup
What is Color Converter?
This tool takes a single color value and computes its equivalent in all four other formats simultaneously. Enter rgb(74, 144, 226) and you immediately see #4A90E2, HSL(211, 74%, 59%), HSB(211, 67%, 89%), and an approximate CMYK breakdown. The conversion runs on the page using standard arithmetic, so there is no network call and no rate limit to hit.
Developers typically reach for this instead of RapidTables or Colorhexa when they need more than two formats in one step, or want to stay in a browser tab during design handoff rather than switching sites. For programmatic conversion inside a build pipeline, a library like chroma-js or tinycolor2 is the right choice; this tool is for the interactive, one-off lookup.
One important caveat about CMYK: the values shown are a mathematical approximation derived from RGB, not a device-specific ICC-profile conversion. Photoshop and InDesign apply color management against a print profile (SWOP, GRACoL, or vendor-specific), so their CMYK numbers will differ from what you see here. If your print vendor requires profile-accurate CMYK, export from Illustrator with the correct profile attached.