Optional
Inspired by the hue-adjuster in CSS Color 5.
Used 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 }); Copy
let r = new Color("lch(50 50 0)").range("lch(90 50 20)");Color.range(r, { progression: p => p ** 3 });
The interpolation space. Colors do not need to be in this space; they will be converted for interpolation
https://colorjs.io/docs/interpolation#ranges
Inspired by the hue-adjuster in CSS Color 5.