Optional
deltaEMethodOptional
hueInspired by the hue-adjuster in CSS Color 5.
Optional
maxmax deltaE between consecutive steps
Optional
maxThe maximum number of steps
Optional
outputOptional
premultipliedOptional
progressionUsed to customize the progression and make in nonlinear
let r = new Color("lch(50 50 0)").range("lch(90 50 20)");
Color.range(r, { progression: p => p ** 3 });
Optional
spaceThe interpolation space. Colors do not need to be in this space; they will be converted for interpolation
Optional
stepsThe minimum number of steps
See
Methods