Color Converter
Result
| HEX | ||
|---|---|---|
| RGB | ||
| HSL |
Share on Social Media:
Color Converter — HEX, RGB, HSL, HSV & CMYK in One Place
The same orange is #FF6600 in CSS, rgb(255, 102, 0) in JavaScript, hsl(24, 100%, 50%) in a design system, and cmyk(0%, 60%, 100%, 0%) on a print proof. This free converter translates between all of them instantly — enter any format, get every format, with a live swatch and picker. In-browser, no signup.
Choosing the Right Format for the Job
| Format | Best for | Example |
|---|---|---|
| HEX | CSS, design handoff, brevity | #FF6600 |
| RGB / RGBA | JavaScript manipulation, transparency | rgba(255,102,0,0.5) |
| HSL / HSLA | Palette building, programmatic shades | hsl(24,100%,50%) |
| HSV / HSB | Design tool pickers (Photoshop, Figma) | hsv(24,100%,100%) |
| CMYK | Print production | 0,60,100,0 |
Why Designers Are Switching to HSL
Need a hover state 10% darker than your brand blue? In RGB, that's non-obvious math across three channels. In HSL, it's hsl(216, 90%, 45%) instead of hsl(216, 90%, 55%) — change one number. Entire design-token systems are built this way: fix the hue, vary lightness in steps (95%, 85%, ... 15%) and you get a coherent 10-shade scale for free. Convert your existing HEX brand colors here to discover their HSL coordinates and unlock that workflow.
The Screen-to-Print Gamut Problem
RGB mixes light (additive — all channels full = white); CMYK mixes ink (subtractive — all inks full ≈ black). CMYK's gamut is smaller, so saturated screen colors, especially electric blues and neon greens, physically cannot be printed and get clamped to the nearest printable shade. If a design is destined for print, convert to CMYK early and evaluate the shifted values rather than being surprised at the print shop.
Accessibility Tip
When picking text/background pairs, aim for a WCAG contrast ratio of at least 4.5:1 for body text (3:1 for large text). Converting to HSL makes fixing failures intuitive — usually you just push the lightness values further apart while keeping the hues.
Free, Instant, Private
All conversion math runs locally with no limits and no account. Keep it open next to your editor as a permanent color scratchpad.