Convert between HEX, RGB, HSL, HSV, and CMYK. Edit any field, all update instantly.
HEX is a six-digit hexadecimal notation for sRGB color โ #RRGGBB, where each pair runs from 00 to FF. RGB states the same color as three decimal channels, HSL restates it as hue, saturation, and lightness, and CMYK describes it for print. All four describe one color in different notations.
The most common web color format. Uses 6 hexadecimal digits (00-FF) for red, green, and blue. Example: #FF5733. Used everywhere in web development โ CSS, HTML, design tools.
Red, Green, Blue โ each from 0-255. Direct representation of how screens emit light. Example: rgb(255, 87, 51). The standard for digital displays.
Hue (0-360ยฐ), Saturation (%), Lightness (%). More intuitive for humans โ "pick a hue, make it more/less saturated, lighter/darker." Great for creating color variations programmatically.
Hue, Saturation, Value (brightness). Similar to HSL but "value" goes from black to full color, while HSL lightness goes from black to white. Common in design software.
Cyan, Magenta, Yellow, Key (black). The print standard โ based on ink absorption rather than light emission. Convert to CMYK when designing for print.
Yes โ they are two encodings of the same sRGB value. #FF0000 and rgb(255, 0, 0) are identical, since hex FF is decimal 255. Converting between them is exact arithmetic with no color shift.
CMYK is a subtractive ink model tied to a specific printer and paper, while RGB is an additive light model tied to a screen. A conversion gives a mathematical match, not a visual one, so proof print-critical colors against the actual press profile.
HSV and HSL describe the same color family with different axes. HSV keeps full saturation at the top of its value axis, which suits pickers and scrubbing, while HSL's lightness axis maps more directly onto mixing a color with white or black in CSS.
No. Both are three-channel encodings of the same sRGB value, so the conversion itself is lossless. Rounding only appears in the displayed numbers, which are usually shown as whole percentages for readability.