Module color.tone
Build raw OKLCH tone schedules without imposing palette policy.
Use linearSchedule to create fixed-size scalar schedules and the batch
functions to apply lightness/chroma schedules to a seed hue. Gamut mapping,
seed anchoring, aesthetic curves, and semantic palette roles remain caller
decisions.
Functions
| Name | Description |
|---|---|
linearSchedule(start, end)
|
Creates a fixed-size linear schedule including both endpoints. |
tonesAtLightnessAndChromaInto(seed, lightnesses, chromas, output)
|
Applies fixed-size lightness and chroma schedules to an OKLCH seed hue. |
tryTonesAtLightnessAndChromaInto(seed, lightnesses, chromas, output)
|
Applies runtime-sized lightness and chroma schedules to an OKLCH seed hue. |