@microsoft/fast-colors > desaturateViaLCH
desaturateViaLCH() function
De-saturate a color using LCH color space
Signature:export declare function desaturateViaLCH(input: ColorRGBA64, saturation: number, saturationConstant?: number): ColorRGBA64;
Parameters
Parameter | Type | Description |
---|---|---|
input | ColorRGBA64 | |
saturation | number | |
saturationConstant | number |
Remarks
The alpha channel of the input is ignored