jsvine/spectra

Implement classes option for scale

Closed this issue · 1 comments

Something like chroma.js

chroma.scale(['red', 'black']).classes(7)

Sorry for my broken english.

This seems like a reasonable feature to add; thanks for suggesting it. If you, or anyone else, would like to implement it, feel free to submit a pull request.

Reference: https://gka.github.io/chroma.js/#scale-classes