Skip to main content
Version: 1.x

@microsoft/fast-colors > interpolateHSL

interpolateHSL() function

Interpolate by HSL color space

Signature:
export declare function interpolateHSL(position: number, left: ColorHSL, right: ColorHSL): ColorHSL;

Parameters

ParameterTypeDescription
positionnumber
leftColorHSL
rightColorHSL
Returns:

ColorHSL