HEX ↔ CMYK
Calculate HEX ↔ CMYK instantly with the exact formula and a worked example.
HEX ↔ CMYK
Red (R), 0–255
Green (G), 0–255
Blue (B), 0–255
Black K (CMYK)
40%
HEX
#336699
Cyan C
66.7%
Magenta M
33.3%
Yellow Y
0%
CMYK
cmyk(67%, 33%, 0%, 40%)
More about: HEX ↔ CMYK
What it calculates
The “HEX ↔ CMYK” calculator computes Black K (CMYK) in % from 3 parameters: red (r), 0–255, green (g), 0–255, blue (b), 0–255.
A converter between units of measure, currencies, and sizes.
Example calculation
With parameters Red (R), 0–255 = 51, Green (G), 0–255 = 102, Blue (B), 0–255 = 153 the result is 40 % (A HEX code is three bytes R, G, B (00–FF = 0–255)).
How to use
- Enter red (r), 0–255, green (g), 0–255 and blue (b), 0–255 — each field above is adjustable with a slider.
- Black K (CMYK) (%) is calculated automatically as you type.
- Check the worked example below to see the formula applied to real numbers.
- Copy the result or bookmark this calculator.
Related calculators
FAQ
How is HEX ↔ CMYK calculated?
The HEX ↔ CMYK calculator computes Black K (CMYK) (in %) from red (r), 0–255, green (g), 0–255, blue (b), 0–255. Enter your values above and the exact formula is applied instantly; a worked example with real numbers is shown below.
Is the HEX ↔ CMYK calculator free?
Yes. It is completely free, needs no signup, runs entirely in your browser, and sends no data to any server.
More calculators in this category
Explore related free tools