RGB and CMYK converter
Convert RGB and CMYK using a simple model without ICC profiles.
Enter data
Enter RGB 0–255 or CMYK 0–100%. Conversion is approximate, without ICC. Fields marked with an asterisk are required.
About this tool
Convert RGB and CMYK using a simple model without ICC profiles. Output is approximate, not print-ready.
Displays and print do not reproduce colour in the same way. This calculator uses a simple mathematical model with maximum black extraction, not a specific printer profile. Values help explain the channels; production with a Polish print shop still requires agreement on ICC profile, paper and file requirements.
How to use the calculator
- Choose a direction and enter channels in the active fields.
- Select “Convert”. Read the ICC warning before using the result for printing.
Calculation details
Formula and calculation method
r=R/255, g=G/255, b=B/255; K=1−max(r,g,b). If K=1, C=M=Y=0; otherwise C=(1−r−K)/(1−K), likewise M and Y. Reverse: R=255(1−C)(1−K), likewise G and B. CMYK input uses percentages.
Worked example
RGB (255, 0, 0) gives C=0%, M=100%, Y=100%, K=0%. C=0%, M=0%, Y=0%, K=100% gives RGB (0, 0, 0). Other CMYK combinations can produce the same black in this model.
Limitations
- No ICC profiles, inks, paper, total ink coverage limits or rich-black recipes. This is an illustrative model, not a display-to-print match guarantee.
- CMYK is displayed to 2 decimal places and RGB rounded to integers. A round trip after rounding can alter channels. Input percentages permit up to 6 decimal places.
Sources
Engine version: 1.0.0 · Last reviewed: 2 October 2026
Frequently asked questions
Is output a specification for a print shop?
No. Agree on ICC profile and file preparation with the printer. The model does not characterize ink or paper.
Is CMYK unique?
No. Different channel combinations can yield the same model RGB. We use an explicit black-extraction formula.
Why does black avoid division errors?
For RGB (0,0,0), a separate branch sets C=M=Y=0 and K=100%.
Is the file or colour uploaded?
No. Processing happens in the browser without adding input or output to analytics, the URL or form history. Loading the page connects to hosting. Clipboard copies, downloads and browser extensions remain outside reset control.