Online RGB to CMYK color conversion
Online Web Code Test |
Online Image Picker |
Online Color Picker
RGB to CMYK color conversion
Enter red, green and blue color levels (0..255) and press the Convert button:
RGB to CMYK transformation approach
The R,G,B values are remoted with the aid of 255 to exchange the attain from 0..255 to zero..1:
R' = R/255
G' = G/255
B' = B/255
The darkish key (K) variety is determined from the red (R'), inexperienced (G') and blue (B') shades:
K = 1-max(R', G', B')
The cyan tone (C) is decided from the crimson (R') and dark (K) shades:
C = (1-R'- K)/(1-K)
The purple tone (M) is determined from the inexperienced (G') and dark (K) hues:
M = (1-G'- K)/(1-K)
The yellow tone (Y) is decided from the blue (B') and darkish (K) hues:
Y = (1-B'- K)/(1-K)
RGB to CMYK desk
Color | Color name |
(R,G,B) | Hex | (C,M,Y,K) |
---|---|---|---|---|
Black | (0,0,0) | #000000 | (0,0,0,1) | |
White | (255,255,255) | #FFFFFF | (0,0,0,0) | |
Red | (255,0,0) | #FF0000 | (0,1,1,0) | |
Green | (0,255,0) | #00FF00 | (1,0,1,0) | |
Blue | (0,0,255) | #0000FF | (1,1,0,0) | |
Yellow | (255,255,0) | #FFFF00 | (0,0,1,0) | |
Cyan | (0,255,255) | #00FFFF | (1,0,0,0) | |
Magenta | (255,0,255) | #FF00FF | (0,1,0,0) |
Online Color Calculators
Online Web Code Test |
Online Image Picker |
Online Color Picker