colour-2.3.5: A model for human colour/color perception
Safe HaskellSafe-Inferred
LanguageHaskell98

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 a Source #

azure :: (Ord a, Floating a) => Colour a Source #

beige :: (Ord a, Floating a) => Colour a Source #

bisque :: (Ord a, Floating a) => Colour a Source #

black :: Num a => Colour a Source #

blue :: (Ord a, Floating a) => Colour a Source #

brown :: (Ord a, Floating a) => Colour a Source #

coral :: (Ord a, Floating a) => Colour a Source #

cyan :: (Ord a, Floating a) => Colour a Source #

gold :: (Ord a, Floating a) => Colour a Source #

gray :: (Ord a, Floating a) => Colour a Source #

grey :: (Ord a, Floating a) => Colour a Source #

green :: (Ord a, Floating a) => Colour a Source #

indigo :: (Ord a, Floating a) => Colour a Source #

ivory :: (Ord a, Floating a) => Colour a Source #

khaki :: (Ord a, Floating a) => Colour a Source #

lime :: (Ord a, Floating a) => Colour a Source #

linen :: (Ord a, Floating a) => Colour a Source #

maroon :: (Ord a, Floating a) => Colour a Source #

navy :: (Ord a, Floating a) => Colour a Source #

olive :: (Ord a, Floating a) => Colour a Source #

orange :: (Ord a, Floating a) => Colour a Source #

orchid :: (Ord a, Floating a) => Colour a Source #

peru :: (Ord a, Floating a) => Colour a Source #

pink :: (Ord a, Floating a) => Colour a Source #

plum :: (Ord a, Floating a) => Colour a Source #

purple :: (Ord a, Floating a) => Colour a Source #

red :: (Ord a, Floating a) => Colour a Source #

salmon :: (Ord a, Floating a) => Colour a Source #

sienna :: (Ord a, Floating a) => Colour a Source #

silver :: (Ord a, Floating a) => Colour a Source #

snow :: (Ord a, Floating a) => Colour a Source #

tan :: (Ord a, Floating a) => Colour a Source #

teal :: (Ord a, Floating a) => Colour a Source #

tomato :: (Ord a, Floating a) => Colour a Source #

violet :: (Ord a, Floating a) => Colour a Source #

wheat :: (Ord a, Floating a) => Colour a Source #

white :: (Ord a, Floating a) => Colour a Source #

yellow :: (Ord a, Floating a) => Colour a Source #