Skip to main content
Version: 1.x

@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

ParameterTypeDescription
inputColorRGBA64
saturationnumber
saturationConstantnumber
Returns:

ColorRGBA64

Remarks

The alpha channel of the input is ignored