This module defines the various colors, etc. for Graphviz. For information on colors in general, see: http://graphviz.org/doc/info/attrs.html#k:color For named colors, see: http://graphviz.org/doc/info/colors.html
Note that the ColorBrewer Color Schemes (shortened to just "Brewer" for the rest of this module) are covered by the following license (also available in the LICENSE file of this library): http://graphviz.org/doc/info/colors.html#brewer_license
- data ColorScheme
- data Color
- class NamedColor nc where
- toColour :: Color -> Maybe (AlphaColour Double)
- fromColour :: Colour Double -> Color
- fromAColour :: AlphaColour Double -> Color
This represents the color schemes that Graphviz accepts.
Defining a color for use with Graphviz. Note that named colors
have been split up into
X11Colors and those based upon the
Brewer color schemes.
More easily convert named colors to an overall