Creates discrete colour steps between two colours.
Start and end colours are included (and counted as a step) unless exclusive is set to true
exclusive
// Array of five HslScalar createSteps(`red`,`blue`, { steps: 5 }); Copy
// Array of five HslScalar createSteps(`red`,`blue`, { steps: 5 });
Defaults to the oklch colour space, 5 steps and non-exclusive.
Start colour
End colour
Creates discrete colour steps between two colours.
Start and end colours are included (and counted as a step) unless
exclusive
is set to trueDefaults to the oklch colour space, 5 steps and non-exclusive.