Call Today 716.688.4675

RGB and CMYK Color Space Conversion

RGB and CMYK color space conversion is used to translate color representation from one color space to the other. The CMYK (Cyan-Magenta-Yellow-Key (black)) color model is used in offset printers for full color document printing. The printer uses ink in those four basic colors and the color black is used directly as the key. CMYK masks are applied to a white background, reducing the amount of light reflected.

The following formulas are used for RGB to CMYK color space conversion. RGB values range from 0 to 255, and CMYK values range from 0 to 1.

RGB to CMYK

R‘ =R/255

G‘ =G/255

B‘ = B/255

K= 1-max(R‘,G‘,B‘)

C= (1-R‘-K) / (1-K)

M= (1-G‘-K) / (1-K)

Y= (1-B‘-K) / (1-K)

CMYK to RGB

R= 255 × (1-C) × (1-K)

G= 255 × (1-M) × (1-K)

B= 255 × (1-Y) × (1-K)

More Information

VOCAL Technologies, Ltd.
520 Lee Entrance, Suite 202
Amherst New York 14228
Phone: +1-716-688-4675
Fax: +1-716-639-0713
Email: sales@vocal.com