문제

what is algorithm of photoshop for converting rgb to cmyk as percentage ?

for example:

R   G   B      C    M    Y    K
0   0   0   => 75%  68%  67%  90%
3   0   0   => 100% 100% 100% 100%
149 91  56  => 32%  65%  84%  21% 
255 255 255 => 0%   0%   0%   0%

I'm using javascript

도움이 되었습니까?

해결책

RGB is converted to CMYK and vice versa by profile through CIE-Lab values.

CIE-Lab is a kind of "universal" color space connected to what people see by eyes.

Color properties of R, G and B values are contained in concrete RGB profile, and CMYK properties are contained in concrete CMYK profile as well as method how situations when one color can be obtained by different CMYK combinations should be resolved.

Some profiles have formulas, some profiles have interpolation matrix obtained by calibration.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top