Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

interpolateHsl

Returns an HSL color space interpolator between the two colors a and b. The colors a and b need not be in HSL; they will be converted to HSL using d3.hsl. If either color’s hue or saturation is NaN, the opposing color’s channel value is used. The shortest path between hues is used. The return value of the interpolator is an RGB string.

function interpolateHsl(a: string | ColorCommonInstance, b: string | ColorCommonInstance): ((t: number) => string);
§
interpolateHsl(a: string | ColorCommonInstance, b: string | ColorCommonInstance): ((t: number) => string)
[src]

§Return Type

§
((t: number) => string)
[src]