@microsoft/fast-colors > saturateViaLCH
saturateViaLCH() function
Saturate a color using LCH color space
Signature:export declare function saturateViaLCH(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