friedbrice/elm-teaching-tools/1.0.0

NOTE: the latest version is 1.0.1

ElmTeachingTools.Lib.Color

A library with some stock colors so that you don't have to remember their Hex values.

Basic API

type Color
= Color String

A color in RGB hex notation.

hexValue : Color -> String

Get the RGB hex notation of a Color.

hexValue (Color "#c0c0c0") -- "#c0c0c0"


hexValue white -- "#ffffff"

Predefined Colors