For all colors you can use one of the following notations:
- Hex:
#ff0080(#rrggbb) - Hex:
#f08(#rgb) - RGB:
rgb(255,0,128)(0 .. 255, 0 .. 255, 0 .. 255) - HSV:
hsv(0.5, 0, 1.0)(0 .. 1.0, 0 .. 1.0, 0 .. 1.0) - HSL:
hsl(300, 0.5, 0.5)(0 .. 359.9999, 0 .. 1.0, 0 .. 1.0) - Name or index:
redor1(see below for colorscheme info) - Special:
inherit,transparent(color will be inherited from containing object)
Note that mixing the different ways to express the RGB, HSL or HSV channels
via absolute value, percentage value or a partial value from 0..1.0 is possible,
and whitespaces are allowed, so rgb(0, 50%,0.5)
is a valid color.
All color values (except #RGB) take an optional alpha value.
Any color that has grey in it's name will also be accepted with the alternative
spelling of gray.
The following list shows all the color schemes recognized by Graph::Easy,
as well as the colors they contain and their corrosponding hex value.
Note that the w3c scheme is exactly the same as
the one published by
W3C. So do not blame me for silly things
like darkseagreen
being lighter than seagreen ...