This package is a compilation of these two packges, adapted to elm 0.19:
- Color, from elm-lang/core
- eskimoblood/elm-color-extra
It also includes some code from fredcy/elm-parseint
Library for working with colors. Includes RGB and HSL creation, gradients, and built-in names.
Color
rgb, rgba, hsl, hsla, greyscale, grayscale, complement
Gradient, linear, radial
toRgb, toHsl
These colors come from the Tango palette which provides aesthetically reasonable defaults for colors. Each color also comes with a light and dark version.
red, orange, yellow, green, blue, purple, brown
lightRed, lightOrange, lightYellow, lightGreen, lightBlue, lightPurple, lightBrown
darkRed, darkOrange, darkYellow, darkGreen, darkBlue, darkPurple, darkBrown
These colors are a compatible series of shades of grey, fitting nicely with the Tango palette. white, lightGrey, grey, darkGrey, lightCharcoal, charcoal, darkCharcoal, black
These are identical to the grey versions. It seems the spelling is regional, but that has never helped me remember which one I should be writing. lightGray, gray, darkGray