Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Names for colours. Names taken from SVG 1.1 specification, http://www.w3.org/TR/SVG11/types.html#ColorKeywords.
readColourName
takes a string naming a colour (must be all lowercase)
and returns the colour.
Fails if the name is not recognized.