🎨 Color (CMYK / RGB) Conversion and Spot Colors

Convert print and screen color values between CMYK and RGB and show approximate spot-color references, helping designers keep color consistent across print and web.

📐 工作原理与说明
CMYK→RGB:R = 255 × (1 − C/100) × (1 − K/100),G、B 同理换 M、Y 通道;十六进制色值 = #RRGGBB;感知亮度 = 0.299R + 0.587G + 0.114B(ITU-R BT.601)

CMYK 转 RGB 公式(各分量取值 0–100%,空值不接受):
R = 255 × (1 − C/100) × (1 − K/100)
G = 255 × (1 − M/100) × (1 − K/100)
B = 255 × (1 − Y/100) × (1 − K/100)
结果四舍五入取整数。
反向 RGB→CMYK 为简化近似:K=1−max(R,G,B)/255,C=(1−R/255−K)/(1−K),M、Y 同理;不做 ICC 色彩管理,不能保证印刷与屏幕一致。

📚 深度解析:色彩(CMYK/RGB)转换与专色

💡 常见使用场景

  • 品牌规范用 RGB/HEX,印刷厂要 CMYK,做双向转换并核对色差风险。
  • 把品牌主色设为专色(Spot/Pantone),在四色之外单独制版,保证大批量印刷颜色稳定。
  • 设计稿多处用到同一专色,统一转换与管理,避免各班次印偏。
品牌蓝 RGB→CMYK 与专色校对
品牌蓝 RGB(0,114,187) → CMYK 约 (100%,39%,0%,27%)。四色叠印在廉价纸张上易偏紫,若用于 Logo 大片色,建议改 Pantone 专色(如近似 285 C)单独制版,颜色更稳。

❓ 常见问题(FAQ)

专色(Spot Color)是什么?
专色是预先混合好的独立油墨(如 Pantone 色卡),不靠 CMYK 四色叠印,颜色精准且一致,常用于 Logo、企业主色。代价是多一块印版、成本更高,大面积或关键色才值得。
屏幕看到的颜色和印刷成品总不一样?
屏幕是 RGB 自发光、色域宽,印刷是 CMYK 油墨、色域窄,天然有差距。缩小差距靠:用 CMYK 模式设计、关键色走专色、批量前打样确认。本工具仅做数值转换,最终以打样/印厂确认稿为准。

Formula & Standard References

Item Formula / Description Source / Standard
Color transform sRGB → XYZ → CMYK gamut mapping ICC Color Management
Spot color Pantone / spot color separate encoding Pantone Spot Color System
Print standard 4-color print ISO 12647 ISO 12647 Graphic Technology
⚠️ 使用说明与注意事项