Digite os níveis de cor vermelha, verde e azul (0..255) e pressione o Converterer botão:
Os valores R,G,B são divididos por 255 para alterar o intervalo de 0..255 para 0..1:
R' = R/255
G' = G/255
B' = B/255
A cor preta (K) é calculada a partir das cores vermelha (R'), verde (G') e azul (B'):
K = 1-max(R', G', B')
The cyan color (C) is calculated from the red (R') and black (K) colors:
C = (1-R'-K) / (1-K)
The magenta color (M) is calculated from the green (G') and black (K) colors:
M = (1-G'-K) / (1-K)
The yellow color (Y) is calculated from the blue (B') and black (K) colors:
Y = (1-B'-K) / (1-K)
Cor | Cor nome |
(R,G,B) | Hex | (C,M,Y,K) |
---|---|---|---|---|
Preto | (0,0,0) | #000000 | (0,0,0,1) | |
Branco | (255,255,255) | #FFFFFF | (0,0,0,0) | |
Vermelho | (255,0,0) | #FF0000 | (0,1,1,0) | |
Verde | (0,255,0) | #00FF00 | (1,0,1,0) | |
Azul | (0,0,255) | #0000FF | (1,1,0,0) | |
Amarelo | (255,255,0) | #FFFF00 | (0,0,1,0) | |
Ciano | (0,255,255) | #00FFFF | (1,0,0,0) | |
Magenta | (255,0,255) | #FF00FF | (0,1,0,0) |