输入CMYK值(0到100%):
其中 R,G,B 值的范围为0..255。
其中 red (R) color is calculated from the cyan (C) and black (K) colors:
R = 255 × (1-C) × (1-K)
其中 green color (G) is calculated from the magenta (M) and black (K) colors:
G = 255 × (1-M) × (1-K)
其中 blue color (B) is calculated from the yellow (Y) and black (K) colors:
B = 255 × (1-Y) × (1-K)
颜色 | 颜色 名称 |
(C,M,Y,K) | (R,G,B) | 十六进制 |
---|---|---|---|---|
黑色 | (0,0,0,1) | (0,0,0) | #000000 | |
白色 | (0,0,0,0) | (255,255,255) | #FFFFFF | |
红色 | (0,1,1,0) | (255,0,0) | #FF0000 | |
绿色 | (1,0,1,0) | (0,255,0) | #00FF00 | |
蓝色 | (1,1,0,0) | (0,0,255) | #0000FF | |
黄色 | (0,0,1,0) | (255,255,0) | #FFFF00 | |
青色 | (1,0,0,0) | (0,255,255) | #00FFFF | |
洋红色 | (0,1,0,0) | (255,0,255) | #FF00FF |