Convert between HEX, RGB, HSL and CMYK color formats
Built & maintained by Pappu Venkata Subbi Reddy, founder of Clacify
Clacify's Color Converter converts any color between HEX, RGB, HSL, and CMYK formats instantly. Enter a HEX code, RGB values, HSL, or CMYK percentages and all four formats update simultaneously. HEX and RGB are used in web/digital design (CSS, Figma, Photoshop); CMYK is the standard for print design (offset printing, brochures, business cards). HSL is useful for programmatically adjusting hues and brightness.
HEX #RRGGBB splits into three pairs: R = hex pair 1, G = hex pair 2, B = hex pair 3, each converted from hexadecimal to decimal (0–255). Example: #6366f1 → R=99 (63 hex), G=102 (66 hex), B=241 (f1 hex) → rgb(99, 102, 241). Clacify's converter does this automatically for any input format.
RGB (Red, Green, Blue) is an additive colour model used for screens — mixing light. CMYK (Cyan, Magenta, Yellow, Black) is a subtractive model used for print — mixing inks. RGB produces a wider colour gamut than CMYK, which is why on-screen colours sometimes look different when printed.