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