Skip to main content
Version: 1.x

@microsoft/fast-colors > interpolateLAB

interpolateLAB() function

Interpolate by LAB color space

Signature:
export declare function interpolateLAB(position: number, left: ColorLAB, right: ColorLAB): ColorLAB;

Parameters

ParameterTypeDescription
positionnumber
leftColorLAB
rightColorLAB
Returns:

ColorLAB