Color Converter
One colour, five languages: HEX for the web, RGB for screens, HSL and HSV for designers, CMYK for print. Enter a colour in any format and this color converter returns it in all of them at once — with the conversion maths visible, so the translations stop being magic.
Five Formats, One Colour: What Each Is For
The formats are not rivals; they are interfaces, each shaped for its user. HEX is RGB compressed for code — three base-16 channel pairs in six characters, the web's native tongue. RGB is the physicist's format: three additive light intensities, 0–255, matching how screens emit. HSL (hue, saturation, lightness) is the designer's: hue as an angle on the colour wheel (0° red, 120° green, 240° blue), saturation as greyness, lightness as the black-to-white midpoint position — the format in which "the same colour, but lighter" is a single number's change. HSV (or HSB) swaps lightness for value/brightness — the colour at full strength versus diluted with black — the picker's format in most software. CMYK is print's subtractive system: cyan, magenta, yellow and key (black) inks on white paper, percentages of coverage. The converter's premise is that fluency means holding all five at once — because the brand guideline gives HEX, the print shop demands CMYK, and the designer thinks in HSL, and they are all describing one patch of light.
Worked Example: A Brand Pink in Five Languages
The default colour is this site's own accent, #F43676 — chosen so the example can be checked against every button on the page. HEX decodes by pairs: F4 = 244, 36 = 54, 76 = 118, so RGB (244, 54, 118) — a red-dominant pink, as the numbers confess. Its HSL is (340°, 90%, 58%): hue 340° sits between magenta and red on the wheel (a rose), saturation 90 percent is nearly pure, lightness 58 percent a touch above the midpoint. HSV shares the hue and reports the colour at 96 percent brightness with 78 percent saturation — the same facts in the picker's dialect. CMYK (0%, 78%, 52%, 4%) instructs the press: no cyan, heavy magenta, half yellow, a whisper of black — and the numbers' size versus the screen formats is the subtractive system's signature, since paper starts at white and every ink only removes. Five descriptions, one pink; a reader fluent in any two can audit the converter's other three, which is the page's idea of proof. Try it against the swatch above the answer — the colour on screen is the colour the numbers describe, rendered by the very hex code in the input.
The Maths: Hue Is an Angle, Saturation Is a Distance
The conversions have a geometry worth seeing once. Normalise RGB to the unit cube (each channel 0–1): the colour is a point in the cube, white at (1,1,1), black at the origin, the greys on the diagonal between. Hue is the angle of the colour's projection onto the plane perpendicular to that diagonal — computed from whichever channel dominates, by the sector formulas the widget runs. Lightness is the average of the strongest and weakest channels; saturation in HSL is the colour's distance from its grey, scaled by its distance from the nearer pole (black or white), which is why saturated pastels and saturated neons both read 100 percent while differing in lightness. HSV's value is simply the strongest channel — brightness as the loudest voice. CMYK inverts the additive world: K (key) is the black the colour implies (1 minus the strongest channel), and C, M, Y are what remains to subtract once the black is accounted. There is no approximation anywhere in this section — the formats are exact reparametrisations of one another within the RGB gamut — with the single honest caveat that CMYK's gamut is smaller than a screen's: some RGB colours (the most electric blues and greens) have no exact ink equivalent, and their CMYK values here are the standard formula's nearest instruction, which print professionals then proof and adjust.
Where Conversions Are Working Tools
The daily traffic between formats runs through predictable borders. Brand and web work: a guideline fixes HEX; the stylesheet wants RGB or HSL for opacity and hover-state arithmetic (darkening a colour is an HSL lightness change — the reason CSS adopted the format); marketing asks for the print values of the web palette. Print production: the reverse crossing, with the gamut warning live — screen-native brand colours routinely need a print variant, and the converter's CMYK is the first draft of that conversation with the press. Accessibility: contrast ratios are computed from RGB luminance, so a designer's HSL intuition must cross to RGB to be audited against WCAG thresholds. Data visualisation: colour scales are designed in HSL/HSV (even perceptual steps) and implemented in HEX. And photography and video live between RGB working spaces and print or broadcast targets. In every crossing, the discipline is the family's: convert exactly, in the open, and keep the source value recorded — because a colour converted twice through rounded intermediates drifts, and brands notice drift.
The Sixth Value: Alpha, or Why the Same Colour Looks Different
Every format on this page describes a colour fully — and none describes how it will appear, because appearance also depends on what is underneath. Digital formats therefore travel with a companion value, alpha: the opacity, 0 (invisible) to 1 or 100 percent (solid), carried in CSS as a fourth channel (rgba, hsla, eight-digit hex). A brand pink at 50 percent alpha over white is a pastel; over black, a plum — the same #F43676, two different perceived colours, both correctly specified once alpha joins the description. The converter deliberately keeps to the five opaque formats (alpha is a property of a use, not of the colour itself), but the designer's habit belongs here: whenever a converted value looks wrong on screen, ask what it is composited over before blaming the conversion — the arithmetic in this page is exact, and transparency is the usual suspect hiding in plain sight. Brand teams learn this once, expensively, when a correctly converted colour "changes" between a white slide and a dark one.
Related Tools
More from the Conversion Calculators hub: the HEX to RGB Converter — the narrow pair this page generalises — the Meters to Feet Converter, and the Height Converter.
Frequently Asked Questions
How do I convert HEX to RGB by hand?
Read the three pairs as base-16 numbers: each digit is worth its face value times 16 for the first position. F4 = 15 × 16 + 4 = 244; 36 = 3 × 16 + 6 = 54; 76 = 7 × 16 + 6 = 118. The letters A–F are 10–15. Three-digit shorthand doubles each digit first (#F36 means #FF3366). Ages of web work were done exactly this way at a glance — the pairs of a familiar palette become as readable as words — and the converter simply refuses to let an unfamiliar pair slow you down.
Why does my printed colour look duller than the screen?
Gamut and physics. A screen emits light — its brightest colours are literally luminous — while ink on paper can only reflect the light falling on it, so the most saturated screen blues, greens and magentas have no printable equal; the CMYK conversion maps them to the nearest printable mixture and the pop is lost in the mapping. Professional practice designs print pieces in CMYK from the start (or accepts a proofed print variant of the brand colour, chosen by eye on paper). The converter's numbers are the honest standard translation; the proof is where the eye signs off.
What is the difference between HSL and HSV?
The third letter's meaning. HSL's lightness runs black (0) through the pure colour (50 percent) to white (100) — a colour and its pastel and its shade are one hue at three lightnesses. HSV's value runs black to the pure colour at full strength (100), with no white direction — shades only. Designers adjusting colour families usually want HSL (tints and shades symmetric); picker interfaces usually offer HSV (the colour solid is simpler). The converter prints both because software divides between them and a number quoted in the wrong system is a different colour entirely — saturation figures especially do not transfer between the two.
What are the CMYK values for pure red?
Screen red #FF0000 converts to CMYK (0%, 100%, 100%, 0%): no cyan, full magenta and yellow — which overprinted make red — and no key. The example teaches the system's logic at a glance: print builds colours by subtraction from white, complementary inks do the work, and black ink (K) enters only to deepen and to save the coloured inks on dark tones — the defaults' pink needed just 4 percent. Rich blacks for print (a mixture like 60/40/40/100) are the professional elaboration of the same logic, beyond a single colour's conversion.
Can I enter RGB instead of HEX?
This page's input is the hex code — the format most often in hand from guidelines and pickers. To cross from RGB, use the hub's HEX to RGB specialist in reverse reading, or convert by hand: each channel to base 16 (244 = F4, since 244 ÷ 16 = 15 remainder 4). The five-format table this page returns is anchored on the hex value, and any RGB triple has exactly one hex spelling, so the crossing is lossless whichever shore you start from — the requirement is only that the starting value be exact, not rounded from a previous conversion.