01
The RGB to CMYK Conversion Formula
This calculator uses the standard RGB-to-CMYK conversion formula used in printing and color-theory to approximate subtractive mixing proportions. First, divide R, G, and B each by 255 to get values from 0 to 1. K = 1 β max(R,G,B). If K is less than 1: C = (1βRβK) Γ· (1βK), M = (1βGβK) Γ· (1βK), Y = (1βBβK) Γ· (1βK); if K equals 1 (pure black), C=M=Y=0. Multiply each by 100 to get a percentage. For example, with R=200, G=100, B=50: r=0.784, g=0.392, b=0.196, so K = 1 β 0.784 = 0.216, C = (1β0.784β0.216)/(1β0.216) = 0, M = (1β0.392β0.216)/0.784 = 0.5 β 50.0%, Y = (1β0.196β0.216)/0.784 = 0.75 β 75.0%.
This is an idealized subtractive-color-model approximation (the same math used for CMYK printing conversion) β real paint pigments are not perfectly subtractive. Results vary significantly by paint brand, pigment opacity/tinting strength, and finish, so always test-mix a small swatch before committing to a full batch.
| Step | Formula | Example (R200,G100,B50) |
|---|---|---|
| Normalize | R,G,B Γ· 255 | 0.784, 0.392, 0.196 |
| K | 1 β max(r,g,b) | 1 β 0.784 = 0.216 (21.6%) |
| C,M,Y | (1βchannelβK) Γ· (1βK) | C 0%, M 50.0%, Y 75.0% |
This is an idealized subtractive-color-model approximation (the same math used for CMYK printing conversion) β real paint pigments are not perfectly subtractive. Results vary significantly by paint brand, pigment opacity/tinting strength, and finish, so always test-mix a small swatch before committing to a full batch.