friedbrice/elm-teaching-tools/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.

--| Example
hexValue (Color "#c0c0c0")
--> "#c0c0c0"

Predefined Colors