georgesboris/elm-widgets-charts-alpha/8.0.0

NOTE: the latest version is 9.2.2

W.Chart.Colors

Accessible colors based on https://www.s-ings.com/scratchpad/oklch-smooth/ .

Using palettes

mapWithColors : Palette -> (String -> a -> b) -> List a -> List b
mapWithColorsAndOffset : Int -> Palette -> (String -> a -> b) -> List a -> List b
colorByIndex : Palette -> Int -> String
type Palette

Palettes

Basic

Mixed

Single Colors

Palette Utilities

toColors : Palette -> List String
toColorWithShades : Palette -> Int -> List String

Deprecated: