Skip to main content
Version: 1.x

@microsoft/fast-colors > interpolateXYZ

interpolateXYZ() function

Interpolate by XYZ color space

Signature:
export declare function interpolateXYZ(position: number, left: ColorXYZ, right: ColorXYZ): ColorXYZ;

Parameters

ParameterTypeDescription
positionnumber
leftColorXYZ
rightColorXYZ
Returns:

ColorXYZ