Data.Colour.Names

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

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.

# Documentation

readColourName :: (MonadFail m, Monad m, Ord a, Floating a) => String -> m (Colour a) #

aliceblue :: (Ord a, Floating a) => Colour a #

antiquewhite :: (Ord a, Floating a) => Colour a #

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

aquamarine :: (Ord a, Floating a) => Colour a #

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

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

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

black :: Num a => Colour a #

blanchedalmond :: (Ord a, Floating a) => Colour a #

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

blueviolet :: (Ord a, Floating a) => Colour a #

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

burlywood :: (Ord a, Floating a) => Colour a #

cadetblue :: (Ord a, Floating a) => Colour a #

chartreuse :: (Ord a, Floating a) => Colour a #

chocolate :: (Ord a, Floating a) => Colour a #

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

cornflowerblue :: (Ord a, Floating a) => Colour a #

cornsilk :: (Ord a, Floating a) => Colour a #

crimson :: (Ord a, Floating a) => Colour a #

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

darkblue :: (Ord a, Floating a) => Colour a #

darkcyan :: (Ord a, Floating a) => Colour a #

darkgoldenrod :: (Ord a, Floating a) => Colour a #

darkgray :: (Ord a, Floating a) => Colour a #

darkgreen :: (Ord a, Floating a) => Colour a #

darkgrey :: (Ord a, Floating a) => Colour a #

darkkhaki :: (Ord a, Floating a) => Colour a #

darkmagenta :: (Ord a, Floating a) => Colour a #

darkolivegreen :: (Ord a, Floating a) => Colour a #

darkorange :: (Ord a, Floating a) => Colour a #

darkorchid :: (Ord a, Floating a) => Colour a #

darkred :: (Ord a, Floating a) => Colour a #

darksalmon :: (Ord a, Floating a) => Colour a #

darkseagreen :: (Ord a, Floating a) => Colour a #

darkslateblue :: (Ord a, Floating a) => Colour a #

darkslategray :: (Ord a, Floating a) => Colour a #

darkslategrey :: (Ord a, Floating a) => Colour a #

darkturquoise :: (Ord a, Floating a) => Colour a #

darkviolet :: (Ord a, Floating a) => Colour a #

deeppink :: (Ord a, Floating a) => Colour a #

deepskyblue :: (Ord a, Floating a) => Colour a #

dimgray :: (Ord a, Floating a) => Colour a #

dimgrey :: (Ord a, Floating a) => Colour a #

dodgerblue :: (Ord a, Floating a) => Colour a #

firebrick :: (Ord a, Floating a) => Colour a #

floralwhite :: (Ord a, Floating a) => Colour a #

forestgreen :: (Ord a, Floating a) => Colour a #

fuchsia :: (Ord a, Floating a) => Colour a #

gainsboro :: (Ord a, Floating a) => Colour a #

ghostwhite :: (Ord a, Floating a) => Colour a #

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

goldenrod :: (Ord a, Floating a) => Colour a #

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

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

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

greenyellow :: (Ord a, Floating a) => Colour a #

honeydew :: (Ord a, Floating a) => Colour a #

hotpink :: (Ord a, Floating a) => Colour a #

indianred :: (Ord a, Floating a) => Colour a #

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

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

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

lavender :: (Ord a, Floating a) => Colour a #

lavenderblush :: (Ord a, Floating a) => Colour a #

lawngreen :: (Ord a, Floating a) => Colour a #

lemonchiffon :: (Ord a, Floating a) => Colour a #

lightblue :: (Ord a, Floating a) => Colour a #

lightcoral :: (Ord a, Floating a) => Colour a #

lightcyan :: (Ord a, Floating a) => Colour a #

lightgoldenrodyellow :: (Ord a, Floating a) => Colour a #

lightgray :: (Ord a, Floating a) => Colour a #

lightgreen :: (Ord a, Floating a) => Colour a #

lightgrey :: (Ord a, Floating a) => Colour a #

lightpink :: (Ord a, Floating a) => Colour a #

lightsalmon :: (Ord a, Floating a) => Colour a #

lightseagreen :: (Ord a, Floating a) => Colour a #

lightskyblue :: (Ord a, Floating a) => Colour a #

lightslategray :: (Ord a, Floating a) => Colour a #

lightslategrey :: (Ord a, Floating a) => Colour a #

lightsteelblue :: (Ord a, Floating a) => Colour a #

lightyellow :: (Ord a, Floating a) => Colour a #

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

limegreen :: (Ord a, Floating a) => Colour a #

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

magenta :: (Ord a, Floating a) => Colour a #

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

mediumaquamarine :: (Ord a, Floating a) => Colour a #

mediumblue :: (Ord a, Floating a) => Colour a #

mediumorchid :: (Ord a, Floating a) => Colour a #

mediumpurple :: (Ord a, Floating a) => Colour a #

mediumseagreen :: (Ord a, Floating a) => Colour a #

mediumslateblue :: (Ord a, Floating a) => Colour a #

mediumspringgreen :: (Ord a, Floating a) => Colour a #

mediumturquoise :: (Ord a, Floating a) => Colour a #

mediumvioletred :: (Ord a, Floating a) => Colour a #

midnightblue :: (Ord a, Floating a) => Colour a #

mintcream :: (Ord a, Floating a) => Colour a #

mistyrose :: (Ord a, Floating a) => Colour a #

moccasin :: (Ord a, Floating a) => Colour a #

navajowhite :: (Ord a, Floating a) => Colour a #

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

oldlace :: (Ord a, Floating a) => Colour a #

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

olivedrab :: (Ord a, Floating a) => Colour a #

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

orangered :: (Ord a, Floating a) => Colour a #

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

palegoldenrod :: (Ord a, Floating a) => Colour a #

palegreen :: (Ord a, Floating a) => Colour a #

paleturquoise :: (Ord a, Floating a) => Colour a #

palevioletred :: (Ord a, Floating a) => Colour a #

papayawhip :: (Ord a, Floating a) => Colour a #

peachpuff :: (Ord a, Floating a) => Colour a #

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

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

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

powderblue :: (Ord a, Floating a) => Colour a #

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

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

rosybrown :: (Ord a, Floating a) => Colour a #

royalblue :: (Ord a, Floating a) => Colour a #

saddlebrown :: (Ord a, Floating a) => Colour a #

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

sandybrown :: (Ord a, Floating a) => Colour a #

seagreen :: (Ord a, Floating a) => Colour a #

seashell :: (Ord a, Floating a) => Colour a #

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

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

skyblue :: (Ord a, Floating a) => Colour a #

slateblue :: (Ord a, Floating a) => Colour a #

slategray :: (Ord a, Floating a) => Colour a #

slategrey :: (Ord a, Floating a) => Colour a #

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

springgreen :: (Ord a, Floating a) => Colour a #

steelblue :: (Ord a, Floating a) => Colour a #

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

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

thistle :: (Ord a, Floating a) => Colour a #

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

turquoise :: (Ord a, Floating a) => Colour a #

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

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

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

whitesmoke :: (Ord a, Floating a) => Colour a #

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

yellowgreen :: (Ord a, Floating a) => Colour a #