Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Data.Colour.Names
Description
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.