Ramp Suggester
object RampSuggester
Suggests ramps for a Palette: a deterministic starting point the artist then edits.
Colours below NEUTRAL_CHROMA form one neutral group; the rest fall into HUE_BUCKETS equal slices of the OKLab hue circle, starting at the +a axis. Each group is sorted dark to light. Of colours with exactly equal lightness, the one listed first in the palette stays, so every ramp passes Ramp validation. Empty groups are dropped. Groups are named ramp1, ramp2, ... in hue order, the neutral group last.