RGB to CMYK Converter
The same conversion as hex to CMYK, from decimal channel values. The same caveat applies: this is profile-free arithmetic, useful for reference and not a substitute for a proof.
How the conversion works
Divide each channel by 255. Key is 1 minus the largest result; the other three are each channel's shortfall from the maximum, normalised by 1 minus key.