newmana/chroma-elm/1.2.0

NOTE: the latest version is 18.2.1

Chroma.Chroma

The attempt here is to provide something similar to https://gka.github.io/chroma.js/ but also idiomatic Elm.

Currently, incomplete - on Scale works.

Definition

chroma : String -> Result String ExtColor

TBD

scale : Data -> List ExtColor -> List (Float -> ExtColor)

TBD

distance : ExtColor -> ExtColor -> Float

TBD

TBD

Helpers

scaleDefault : List (Float -> ExtColor)

TBD