← back to roto on ba3a.dev

build

fun build(name: String, picked: List<Int>, palette: Palette): Ramp

The ramp called name made of picked, darkest first.

Throws

when name is blank, nothing is picked, a colour is not in palette, or two colours have the same lightness (the message names both)