Skip to main content
Version: 1.x

@microsoft/fast-colors > lightenViaLAB

lightenViaLAB() function

Lighten a color using LAB color space

Signature:
export declare function lightenViaLAB(input: ColorRGBA64, amount: number, darkenConstant?: number): ColorRGBA64;

Parameters

ParameterTypeDescription
inputColorRGBA64
amountnumber
darkenConstantnumber
Returns:

ColorRGBA64

Remarks

The alpha channel of the input is ignored