код CMYK to RGB Conversion - Calculatorology

CMYK to RGB Conversion



CMYK to RGB Converter

Enter cyan color (C):
Enter magenta color (M):
Enter yellow color (Y):
Enter black key color (K):
   
Red color (R):  
Green color (G):  
Blue color (B):  
Color preview:  


CMYK to RGB Conversion

It is a color code conversion calculator used to convert CMYK (Cyan, Magenta, Yellow, Black key colors) to red, green and blue (RGB). It has four text fields four the CMYK colors and two control buttons that perform independent functions of the calculator. It only accepts values ranging from 0 to 1. The CMYK to RGB converter uses a simple approach during the conversions.

The first procedure is to enter the present color codes in either of the text fields.  Afterwards, click the ‘Convert' button to initiate the conversion. The color codes in red, green and blue colors will be displayed on the result panel below the two controls. The ‘Reset' button is used to erase all data of the previous conversions from the calculator. The bottom platform of the calculator shows the color preview according to the converted color codes above.

For example;

Determine the color codes of red, green and blue colors given Cyan 0.34, Magenta 0.44, Yellow 0.65 and Black key 0.23.

Solution

First, enter the CMYK values in their respective text fields and then click the convert button. The results will be displayed as;

Red Color (R) – 130

Green Color (G) – 110

Blue Color (B) – 69

The bottom panel of the calculator will indicate the color preview of red, green and blue color codes.

Formula for converting CMYK to RGB

The red, green and blue values are given in the range of 0...255.

The red (R) color is calculated from the cyan (C) and black (K) colors. It is expressed as;

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

The green color (G) is calculated from the magenta (M) and black (K) colors

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

The blue color (B) is calculated from the yellow (Y) and black (K) colors.

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