HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulegraphviz-2999.20.2.0Haskell2010

Data.GraphViz.Attributes.Colors.X11

Graphviz's definition of X11 colors differs from the "normal" list installed on many systems at usrshareX11rgb.txt. For example, Crimson is not a usual X11 color.

Furthermore, all Gray* colors are duplicated with Grey* names. To simplify this, these duplicates have been removed but all X11Colors with "Gray" (whether they have the duplicate spelling or not) in their name are also parseable as if they were spelt with "grey".

The complete list of X11 colors can be found at http://www.graphviz.org/doc/info/colors.html#x11.

  • 1 type
  • 1 value
datadata X11Color
#

The X11 colors that Graphviz uses. Note that these are slightly different from the "normal" X11 colors used (e.g. the inclusion of Crimson). Graphviz's list of colors also duplicated almost all Gray colors with Grey ones; parsing of an X11Color which is specified using "grey" will succeed, even for those that don't have the duplicate spelling (e.g. DarkSlateGray1).

Constructors

Instances9Bounded, Enum, Eq, Ord, Read, Show, …
  • Bounded X11ColorDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.Colors.X11
  • Enum X11ColorDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.Colors.X11
  • Eq X11ColorDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.Colors.X11
  • Ord X11ColorDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.Colors.X11
  • Read X11ColorDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.Colors.X11
  • Show X11ColorDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.Colors.X11
  • ParseDot X11ColorDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.Colors.X11
  • PrintDot X11ColorDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.Colors.X11
  • NamedColor X11ColorDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.Colors