Desaturation
입력에 적용할 채도의 양을 지정한다. Fraction은 0.0(원래 색상, 채도 없음) ~ 1.0(완전히 채도 없음)
Define desaturated color D, input color I and luminance factor L.
D
I
L
The output will be O = (1 - Percent)*( D.dot( I )) + Percent * I
O = (1 - Percent)*( D.dot( I )) + Percent * I
$$ O=(1-P)(D\cdot{I})+PI $$