colour-2.3.0: A model for human colour/color perception

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.

Synopsis

Documentation

black :: Num a => Colour aSource

black is the colourless colour. It is the identity colour in additive colour spaces.