georgesboris/elm-widgets-charts-alpha/4.0.4

NOTE: the latest version is 9.2.2

W.Chart.Colors

mapWithColors : Palette -> (String -> a -> b) -> List a -> List b
mapWithColorsSkipping : Palette -> (String -> a -> b) -> List a -> List b
type Palette
toColors : Palette -> List String
toColorWithShades : Palette -> List String
colorByIndex : Palette -> Int -> String

Get the color string for each color in a palette. Use all shades for a given color before moving to the next color. This is usually recommended since the user will be able to distinguish different shades if the colors are near each other.

colorByIndexSkipping : Palette -> Int -> String

Get the color string for each color in a palette. Always skip color, move between shades after all colors were used. Shades are also slightly moved in a circular fashion to achieve more contrast.