graphviz-2999.20.2.1: Bindings to Graphviz for graph visualisation.

Copyright | (c) Ivan Lazar Miljenovic
License | 3-Clause BSD-style
Maintainer | Ivan.Miljenovic@gmail.com
Safe Haskell | None
Language | Haskell2010

Data.GraphViz.Attributes.Colors.SVG

Description

Graphviz comes with an SVG color scheme: http://www.graphviz.org/doc/info/colors.html#svg

However, in general use you probably want to use Data.GraphViz.Attributes.Colors.X11 instead, unless you are only generating SVG images.

Synopsis

- data SVGColor
  - = AliceBlue
  - | AntiqueWhite
  - | Aqua
  - | Aquamarine
  - | Azure
  - | Beige
  - | Bisque
  - | Black
  - | BlanchedAlmond
  - | Blue
  - | BlueViolet
  - | Brown
  - | Burlywood
  - | CadetBlue
  - | Chartreuse
  - | Chocolate
  - | Coral
  - | CornflowerBlue
  - | Cornsilk
  - | Crimson
  - | Cyan
  - | DarkBlue
  - | DarkCyan
  - | DarkGoldenrod
  - | DarkGray
  - | DarkGreen
  - | DarkKhaki
  - | DarkMagenta
  - | DarkOliveGreen
  - | DarkOrange
  - | DarkOrchid
  - | DarkRed
  - | DarkSalmon
  - | DarkSeaGreen
  - | DarkSlateBlue
  - | DarkSlateGray
  - | DarkTurquoise
  - | DarkViolet
  - | DeepPink
  - | DeepSkyBlue
  - | DimGray
  - | DodgerBlue
  - | Firebrick
  - | FloralWhite
  - | ForestGreen
  - | Fuchsia
  - | Gainsboro
  - | GhostWhite
  - | Gold
  - | Goldenrod
  - | Gray
  - | Green
  - | GreenYellow
  - | Honeydew
  - | HotPink
  - | IndianRed
  - | Indigo
  - | Ivory
  - | Khaki
  - | Lavender
  - | LavenderBlush
  - | LawnGreen
  - | LemonChiffon
  - | LightBlue
  - | LightCoral
  - | LightCyan
  - | LightGoldenrodYellow
  - | LightGray
  - | LightGreen
  - | LightPink
  - | LightSalmon
  - | LightSeaGreen
  - | LightSkyBlue
  - | LightSlateGray
  - | LightSteelBlue
  - | LightYellow
  - | Lime
  - | LimeGreen
  - | Linen
  - | Magenta
  - | Maroon
  - | MediumAquamarine
  - | MediumBlue
  - | MediumOrchid
  - | MediumPurple
  - | MediumSeaGreen
  - | MediumSlateBlue
  - | MediumSpringGreen
  - | MediumTurquoise
  - | MediumVioletRed
  - | MidnightBlue
  - | MintCream
  - | MistyRose
  - | Moccasin
  - | NavajoWhite
  - | Navy
  - | OldLace
  - | Olive
  - | OliveDrab
  - | Orange
  - | OrangeRed
  - | Orchid
  - | PaleGoldenrod
  - | PaleGreen
  - | PaleTurquoise
  - | PaleVioletRed
  - | PapayaWhip
  - | PeachPuff
  - | Peru
  - | Pink
  - | Plum
  - | PowderBlue
  - | Purple
  - | Red
  - | RosyBrown
  - | RoyalBlue
  - | SaddleBrown
  - | Salmon
  - | SandyBrown
  - | SeaGreen
  - | SeaShell
  - | Sienna
  - | Silver
  - | SkyBlue
  - | SlateBlue
  - | SlateGray
  - | Snow
  - | SpringGreen
  - | SteelBlue
  - | Tan
  - | Teal
  - | Thistle
  - | Tomato
  - | Turquoise
  - | Violet
  - | Wheat
  - | White
  - | WhiteSmoke
  - | Yellow
  - | YellowGreen
- svgColour :: SVGColor -> Colour Double

# Documentation

data SVGColor Source #

The SVG colors that Graphviz uses. Graphviz's list of colors also duplicated all `*Gray*` colors with `*Grey*` ones; parsing of an `SVGColor` which is specified using "grey" will succeed.

Constructors

AliceBlue |
AntiqueWhite |
Aqua |
Aquamarine |
Azure |
Beige |
Bisque |
Black |
BlanchedAlmond |
Blue |
BlueViolet |
Brown |
Burlywood |
CadetBlue |
Chartreuse |
Chocolate |
Coral |
CornflowerBlue |
Cornsilk |
Crimson |
Cyan |
DarkBlue |
DarkCyan |
DarkGoldenrod |
DarkGray |
DarkGreen |
DarkKhaki |
DarkMagenta |
DarkOliveGreen |
DarkOrange |
DarkOrchid |
DarkRed |
DarkSalmon |
DarkSeaGreen |
DarkSlateBlue |
DarkSlateGray |
DarkTurquoise |
DarkViolet |
DeepPink |
DeepSkyBlue |
DimGray |
DodgerBlue |
Firebrick |
FloralWhite |
ForestGreen |
Fuchsia |
Gainsboro |
GhostWhite |
Gold |
Goldenrod |
Gray |
Green |
GreenYellow |
Honeydew |
HotPink |
IndianRed |
Indigo |
Ivory |
Khaki |
Lavender |
LavenderBlush |
LawnGreen |
LemonChiffon |
LightBlue |
LightCoral |
LightCyan |
LightGoldenrodYellow |
LightGray |
LightGreen |
LightPink |
LightSalmon |
LightSeaGreen |
LightSkyBlue |
LightSlateGray |
LightSteelBlue |
LightYellow |
Lime |
LimeGreen |
Linen |
Magenta |
Maroon |
MediumAquamarine |
MediumBlue |
MediumOrchid |
MediumPurple |
MediumSeaGreen |
MediumSlateBlue |
MediumSpringGreen |
MediumTurquoise |
MediumVioletRed |
MidnightBlue |
MintCream |
MistyRose |
Moccasin |
NavajoWhite |
Navy |
OldLace |
Olive |
OliveDrab |
Orange |
OrangeRed |
Orchid |
PaleGoldenrod |
PaleGreen |
PaleTurquoise |
PaleVioletRed |
PapayaWhip |
PeachPuff |
Peru |
Pink |
Plum |
PowderBlue |
Purple |
Red |
RosyBrown |
RoyalBlue |
SaddleBrown |
Salmon |
SandyBrown |
SeaGreen |
SeaShell |
Sienna |
Silver |
SkyBlue |
SlateBlue |
SlateGray |
Snow |
SpringGreen |
SteelBlue |
Tan |
Teal |
Thistle |
Tomato |
Turquoise |
Violet |
Wheat |
White |
WhiteSmoke |
Yellow |
YellowGreen |

#### Instances

Instances details

Bounded SVGColor Source # |
Instance details Defined in Data.GraphViz.Attributes.Colors.SVG Methods minBound :: SVGColor Source # maxBound :: SVGColor Source #
Enum SVGColor Source # |

Instance details

Defined in Data.GraphViz.Attributes.Colors.SVG

Methods

succ :: SVGColor -> SVGColor Source #

pred :: SVGColor -> SVGColor Source #

toEnum :: Int -> SVGColor Source #

fromEnum :: SVGColor -> Int Source #

enumFrom :: SVGColor -> [SVGColor] Source #

enumFromThen :: SVGColor -> SVGColor -> [SVGColor] Source #

enumFromTo :: SVGColor -> SVGColor -> [SVGColor] Source #

enumFromThenTo :: SVGColor -> SVGColor -> SVGColor -> [SVGColor] Source #

Read SVGColor Source # |
Instance details Defined in Data.GraphViz.Attributes.Colors.SVG Methods readsPrec :: Int -> ReadS SVGColor Source # readList :: ReadS [SVGColor] Source # readPrec :: ReadPrec SVGColor Source # readListPrec :: ReadPrec [SVGColor] Source #
Show SVGColor Source # |
Instance details Defined in Data.GraphViz.Attributes.Colors.SVG Methods showsPrec :: Int -> SVGColor -> ShowS Source # show :: SVGColor -> String Source # showList :: [SVGColor] -> ShowS Source #
Eq SVGColor Source # |
Instance details Defined in Data.GraphViz.Attributes.Colors.SVG Methods (==) :: SVGColor -> SVGColor -> Bool Source # (/=) :: SVGColor -> SVGColor -> Bool Source #
Ord SVGColor Source # |

Instance details

Defined in Data.GraphViz.Attributes.Colors.SVG

Methods

compare :: SVGColor -> SVGColor -> Ordering Source #

(<) :: SVGColor -> SVGColor -> Bool Source #

(<=) :: SVGColor -> SVGColor -> Bool Source #

(>) :: SVGColor -> SVGColor -> Bool Source #

(>=) :: SVGColor -> SVGColor -> Bool Source #

max :: SVGColor -> SVGColor -> SVGColor Source #

min :: SVGColor -> SVGColor -> SVGColor Source #

NamedColor SVGColor Source # |
Instance details Defined in Data.GraphViz.Attributes.Colors Methods colorScheme :: SVGColor -> ColorScheme toColor :: SVGColor -> Color Source # printNC :: Bool -> SVGColor -> DotCode parseNC' :: Bool -> Parse SVGColor
ParseDot SVGColor Source # |
Instance details Defined in Data.GraphViz.Attributes.Colors.SVG Methods parseUnqt :: Parse SVGColor Source # parse :: Parse SVGColor Source # parseUnqtList :: Parse [SVGColor] Source # parseList :: Parse [SVGColor] Source #
PrintDot SVGColor Source # |
Instance details Defined in Data.GraphViz.Attributes.Colors.SVG Methods unqtDot :: SVGColor -> DotCode Source # toDot :: SVGColor -> DotCode Source # unqtListToDot :: [SVGColor] -> DotCode Source # listToDot :: [SVGColor] -> DotCode Source #

svgColour :: SVGColor -> Colour Double Source #

Convert an `SVGColor` to its equivalent `Colour` value.