🌐 EN

🎨 Paint Color Mixing Calculator

Convert an RGB color value into an approximate CMYK percentage display.

Color Preview
These figures are an idealized subtractive-color-model approximation. Real paint pigments may mix differently, so always test-mix a small swatch before committing to a full batch.
C (Cyan) — M (Magenta) — Y (Yellow) — K (Black) —
Related Calculators Craft Pricing Calculator Hair Dye Mixing Calculator Origami Paper Size Calculator

Inputs and checks

  • Enter R (Red, 0-255), G (Green, 0-255) and B (Blue, 0-255) as channel values; the script treats them as integers and clamps them to 0 through 255.
  • RGB means three digital light color channels. CMYK is a mathematical cyan, magenta, yellow and black model, not an ingredient list.
  • Use Calculate or edit the channel values to update the preview and four percentages.
  • Displayed C, M, Y and K values are rounded to one decimal place.

Reading the result

  • The calculator normalizes RGB to 0–1, derives K from the largest channel and computes C, M and Y; pure black is handled separately.
  • These percentages describe an idealized color conversion, not quantities of real paint pigment. Pigment mixing, opacity, substrate and calibrated printer output are not modeled.

Examples

Pure digital red

Input
R (Red): 255; G (Green): 0; B (Blue): 0.
Result
C (Cyan): 0.0%; M (Magenta): 100.0%; Y (Yellow): 100.0%; K (Black): 0.0%
How to check it
The idealized conversion has K = 0 and gives C 0.0%, M 100.0%, Y 100.0%, K 0.0%.

Pure digital black

Input
R (Red): 0; G (Green): 0; B (Blue): 0.
Result
C (Cyan): 0.0%; M (Magenta): 0.0%; Y (Yellow): 0.0%; K (Black): 100.0%
How to check it
The all-black special case gives C 0.0%, M 0.0%, Y 0.0%, K 100.0%.

Frequently asked questions

Can I mix paint with these exact proportions?
No. CMYK percentages are an idealized mathematical approximation, not tested physical pigment ratios.
What happens to values outside 0–255?
The source clamps entered RGB integers to the 0–255 range.
Why is black not divided by zero?
The source handles RGB 0, 0, 0 separately, returning 100.0% K and zero for the other channels.