CMYK-RGB 색상 변환 공식

Jmnote (토론 | 기여)님의 2019년 10월 25일 (금) 16:28 판 (→‎참고)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
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 }}