What is Color Conversion?
Color conversion translates a color value from one model to another. You might have a brand color defined as HEX #1A73E8 in your style guide and need its RGB equivalent for a Canvas API call, its HSL form for a CSS animation, or its CMYK breakdown for a print brochure. Each model describes the same visible color using a different coordinate system. HEX packs red, green, and blue into a six-character string — two hexadecimal digits per channel, giving 256 levels each and 16,777,216 possible combinations. RGB spells out the same channels as decimal integers from 0 to 255. HSL rethinks color as hue on a 360-degree wheel, saturation as a percentage, and lightness as a percentage — making it far easier to create tints, shades, and harmonies by adjusting one axis at a time.
HSB — also called HSV — is closely related to HSL but defines brightness differently. In HSB, a brightness of 100% means the color is as vivid as possible at that hue, while in HSL a lightness of 100% always produces white. Designers working in Photoshop or Figma encounter HSB constantly because those tools use it as their default picker model. CMYK — cyan, magenta, yellow, and key (black) — is the model used by commercial printers. It is subtractive: inks absorb light rather than emitting it. A color that looks vibrant on your monitor in RGB may fall outside the narrower CMYK gamut, causing a noticeable shift when printed. Converting early and previewing the CMYK result saves you from expensive reprints.
This tool converts between HEX, RGB, HSL, HSB, and CMYK instantly. Type or paste a value in any supported format and the other representations update in real time. All math runs in your browser — no server calls, no tracking pixels, no cookies. You get accurate conversions based on the standard sRGB color space defined in IEC 61966-2-1, which is the default for web browsers, CSS, and most consumer displays.