输入从 0 到 100% 的 CMYK 值:
R 、G、B值在 0..255 范围内给出。
红色 (R) 颜色由青色 (C) 和黑色 (K) 颜色计算得出:
R = 255 × (1-C) × (1-K)
绿色 (G) 由品红色 (M) 和黑色 (K) 计算得出:
G = 255 × (1-M) × (1-K)
蓝色 (B) 由黄色 (Y) 和黑色 (K) 计算得出:
B = 255 × (1-Y) × (1-K)
颜色 | 颜色 姓名 |
(C,M,Y,K) | (红、绿、乙) | 十六进制 |
---|---|---|---|---|
黑色的 | (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 |
这是一个免费的在线色码转换器,将一种色码转换成另一种颜色模型,支持CMYK、RGB和HEX三种颜色模型,它们可以相互转换。
CMYK 到 RGB 和 HEX
RGB 到 CMYK 和 HEX
HEX 到 RGB 和 CMYK
1. 在颜色模型字段之一中输入您的颜色代码,CMYK、RGB 或 HEX
2. 要将 CMYK 转换为 RGB,请在 CMYK 字段中输入您的 CMYK 颜色代码,例如,cmyk(100%, 0%, 33% , 40%)
3. 要将 CMYK 转换为 HEX,请在 CMYK 字段中输入代码
4. 要将 RGB 转换为 CMYK,请在 RGB 区域中输入您的 RGB 颜色代码,例如 rgb(30, 100, 220)
5. 要将 RGB 转换为 HEX,在 RGB 字段中输入代码
6. 要将 HEX 转换为 CMYK,请在 HEX 字段中输入您的 HEX 颜色代码,例如 #3b5376
7. 要将 HEX 转换为 RGB,请在 HEX 字段中输入代码
8. 我们的颜色代码转换器将以交互方式显示结果
红、绿、蓝值在0..255范围内给出,红色(R)由青色(C)和黑色(K)计算,绿色(G)由品红(m)和黑色 (k) 颜色,蓝色 (b) 由黄色 (y) 和黑色 (k) 颜色计算得出。下面是CMYK转RGB的公式
红色 = 255 × (1 - 青色 100) × (1 - 黑色 100)
绿色 = 255 × (1 - 洋红色 100) × (1 - 黑色 100)
蓝色 = 255 × (1 - 黄色 100) × (1 - 黑色 100 )
R、G、B值的最大个数是255,首先,我们将它们除以255,变成一个0~1的数,计算时会用到这个比值。
RC = R 255
气相色谱 = G 255
BC = B 255
黑键(K)颜色可以有很多结果,当我们考虑一个黑键值时,可以计算出其他三种颜色(青色、品红色、黄色)。我们可以根据红、绿、蓝三种颜色来计算,黑键的最大数量应该是:
k = 1 - 最大值(rc,gc,bc);
或者我们可以假设我们已经用完了黑色墨水,需要使用剩余的三种彩色墨水来完成打印工作。
k = 0;
青色 (C) 由红色和黑色计算得出:
c = (1 - rc - k) (1 - k)
洋红色 (M) 由绿色和黑色计算得出:
m = (1 - gr - k) (1 - k)
黄色 (Y) 由蓝色和黑色计算得出:
y = (1 - bc - k) ( 1 - k)
The ability to specify the values for the CMYK colors, either by manually inputting the values or by using a color picker tool.
The ability to preview the resulting RGB color values.
The ability to adjust the color balance and saturation of the resulting RGB colors.
The ability to save and export the converted RGB colors in various file formats, such as JPEG, PNG, and GIF.
The ability to copy the RGB color values to the clipboard for easy use in other applications.
The ability to process multiple CMYK colors at once, either by batch converting a group of colors or by converting a color range.
The ability to handle various color profiles, such as sRGB, Adobe RGB, and ProPhoto RGB, and to convert between these profiles as needed.
CMYK stands for Cyan, Magenta, Yellow, and Key (black), while RGB stands for Red, Green, and Blue. These are two different color models that are used for different purposes. CMYK is a subtractive color model, which means that it is used to create colors by subtracting certain wavelengths of light from a white background. This is the model that is used for printing, because it allows for the creation of a wide range of colors using just four inks. RGB, on the other hand, is an additive color model, which means that it is used to create colors by adding different wavelengths of light together. This is the model that is used for displays, such as computer monitors and televisions.
是的,可以将 CMYK 颜色转换为 RGB。但是,需要注意的是转换过程并不总是准确的,因为两种颜色模型使用不同的方法来创建颜色。从 CMYK 转换为 RGB 时,某些颜色在不同的显示器上可能会显示不同,并且某些颜色可能根本无法再现。这是因为使用 CMYK 模型可以产生的颜色范围小于使用 RGB 模型可以产生的颜色范围。
要在 Photoshop 中将 CMYK 颜色转换为 RGB,请按照下列步骤操作:
在 Photoshop 中打开要转换的图像。
转到“图像”菜单并选择“模式”,然后选择“RGB 颜色”。
Photoshop 将提示您确认转换。单击“确定”继续。
图像现在将处于 RGB 颜色模式。
要在 Illustrator 中将 CMYK 颜色转换为 RGB,请执行以下步骤:
在 Illustrator 中打开要转换的文件。
转到“文件”菜单并选择“文档颜色模式”,然后选择“RGB 颜色”。
Illustrator 将提示您确认转换。单击“确定”继续。
该文件现在将处于 RGB 颜色模式。
要在 InDesign 中将 CMYK 颜色转换为 RGB,请执行以下步骤:
在 InDesign 中打开要转换的文件。
转到“文件”菜单并选择“文档颜色模式”,然后选择“RGB 颜色”。
InDesign 将提示您确认转换。单击“确定”继续。
该文件现在将处于 RGB 颜色模式。
是的,可以将 RGB 颜色转换为 CMYK。但是,需要注意的是转换过程并不总是准确的,因为两种颜色模型使用不同的方法来创建颜色。从 RGB 转换为 CMYK 时,某些颜色在打印时可能会出现不同,并且某些颜色可能根本无法重现。这是因为使用 RGB 模型可以产生的颜色范围大于使用 CMYK 模型可以产生的颜色范围。
Advertising