@mapbox/to-color

Procedurally generate a deterministic, perceptually distributed color palette. See github.com/mapbox/to-color for more.

getColor can optionally take a seed to guarantee the same random color regardless of its order.