Skip to main content

Module interpolation

Module interpolation 

Expand description

Types that specify how colors are interpolated in a gradient, including the interpolation color space, premultiplication mode, and hue method.

Type Aliasesยง

ColorSpace
Color space for gradient interpolation.
HueMethod
Hue interpolation method for cylindrical color spaces (LCH, OKLCH, HSL, HWB).
InPremul
Whether to interpolate colors in premultiplied alpha space.