Skip to content

elm-athlete/color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elm Color

This package is a compilation of these two packges, adapted to elm 0.19:

It also includes some code from fredcy/elm-parseint

Content

Library for working with colors. Includes RGB and HSL creation, gradients, and built-in names.

Colors

Color

Creation

rgb, rgba, hsl, hsla, greyscale, grayscale, complement

Gradients

Gradient, linear, radial

Extracting Colors

toRgb, toHsl

Built-in Colors

These colors come from the Tango palette which provides aesthetically reasonable defaults for colors. Each color also comes with a light and dark version.

Standard

red, orange, yellow, green, blue, purple, brown

Light

lightRed, lightOrange, lightYellow, lightGreen, lightBlue, lightPurple, lightBrown

Dark

darkRed, darkOrange, darkYellow, darkGreen, darkBlue, darkPurple, darkBrown

Eight Shades of Grey

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages