Skip to content
1 min read · 45 words

Variable: colorAdjustTool

ts
const colorAdjustTool: Tool<SpooledArtifact>;

Lighten or darken a colour by a percentage of HSL lightness.

Remarks

amount is clamped to [1, 100]; steps is clamped to [1, 10]. With steps > 1 the tool emits a ramp of progressively-adjusted colours, useful for generating tint/shade scales.