colour-2.3.3: 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.

Documentation

aqua :: (Ord a, Floating a) => Colour aSource

blue :: (Ord a, Floating a) => Colour aSource

cyan :: (Ord a, Floating a) => Colour aSource

gold :: (Ord a, Floating a) => Colour aSource

gray :: (Ord a, Floating a) => Colour aSource

grey :: (Ord a, Floating a) => Colour aSource

lime :: (Ord a, Floating a) => Colour aSource

navy :: (Ord a, Floating a) => Colour aSource

peru :: (Ord a, Floating a) => Colour aSource

pink :: (Ord a, Floating a) => Colour aSource

plum :: (Ord a, Floating a) => Colour aSource

red :: (Ord a, Floating a) => Colour aSource

snow :: (Ord a, Floating a) => Colour aSource

tan :: (Ord a, Floating a) => Colour aSource

teal :: (Ord a, Floating a) => Colour aSource