Skip to content

Function: evenStops() ​

ts
function evenStops(colors): ColorscaleStops;

Experimental

Evenly spaced stops from a list of colors.

Parameters ​

ParameterType
colorsreadonly string[]

Returns ​

ColorscaleStops

Released under the MIT License.