rtfeldman/elm-css/9.0.0

NOTE: this package is not compatible with Elm 0.19.1

Css.Colors

A nicer default set of colors than the ones CSS ships with. Color codes taken from clrs.cc.

import Css.Colors exposing (..)


stylesheet
  [ button
      [ backgroundColor blue ]
  ]

...compiles to:

button {
    backgroundColor: #0074D9;
}

Colors

blue : Color

aqua : Color

teal : Color

olive : Color

green : Color

lime : Color

yellow : Color

orange : Color

red : Color

maroon : Color

fuchsia : Color

purple : Color

black : Color

gray : Color

silver : Color