CMYK-RGB 색상 변환 공식

CMYK-RGB 색상 변환 공식
RGB-CMYK 색상 변환 공식

1 CMYK → RGB 변환[ | ]

[math]\displaystyle{ R=255\times(1-C)\times(1-K) }[/math]
[math]\displaystyle{ G=255\times(1-M)\times(1-K) }[/math]
[math]\displaystyle{ B=255\times(1-Y)\times(1-K) }[/math]

2 RGB→ CMYK 변환[ | ]

[math]\displaystyle{ K=1-\max\left(\frac{R}{255}, \frac{G}{255}, \frac{B}{255}\right) }[/math]
[math]\displaystyle{ C=\left(1-K-\frac{R}{255}\right) / (1-K) }[/math]
[math]\displaystyle{ M=\left(1-K-\frac{G}{255}\right) / (1-K) }[/math]
[math]\displaystyle{ Y=\left(1-K-\frac{B}{255}\right) / (1-K) }[/math]

3 같이 보기[ | ]

4 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}