|
NAMEGraphics::ColorNames::WWW - WWW color names and equivalent RGB valuesSYNOPSISrequire Graphics::ColorNames::WWW; $NameTable = Graphics::ColorNames::WWW->NamesRgbTable(); $RgbBlack = $NameTable->{black}; DESCRIPTIONThis module defines color names and their associated RGB values from various WWW specifications, such as SVG or CSS as well as common browser implementations.See the documentation of Graphics::ColorNames for information how to use this module. Currently, SVG and CSS define the same color keywords and include all color keywords supported by common web browsers. Therefore, the modules Graphics::ColorNames::WWW, Graphics::ColorNames::SVG and Graphics::ColorNames::CSS behave in identical ways. This may change if the specs should happen to diverge; then this module will become a superset of all color keywords defined by W3C's specs. It is recommended to use this module unless you require exact compatibility with the CSS and SVG specifications or specific browsers. NOTEReportedly "fuchsia" was misspelled "fuscia" in an unidentified HTML specification. It also appears to be a common misspelling, so both names are recognized.LIMITATIONSThe "transparent" keyword is unsupported. Currently, Graphics::ColorNames does not allow RGBA values.Further, the system color keywords are not assigned to a fixed RGB value and thus unsupported: "ActiveBorder", "ActiveCaption", "AppWorkspace", "Background", "ButtonFace", "ButtonHighlight", "ButtonShadow", "ButtonText", "CaptionText", "GrayText", "Highlight", "HighlightText", "InactiveBorder", "InactiveCaption", "InactiveCaptionText", "InfoBackground", "InfoText", "Menu", "MenuText", "Scrollbar", "ThreeDDarkShadow", "ThreeDFace", "ThreeDHighlight", "ThreeDLightShadow", "ThreeDShadow", "Window", "WindowFrame", "WindowText" (these are deprecated in CSS3) SEE ALSOGraphics::ColorNames::HTML, Graphics::ColorNames::CSS, Graphics::ColorNames::SVGAUTHORClaus Faerber <CFAERBER@cpan.org>Based on "Graphics::ColorNames::HTML" by Robert Rothenberg. LICENSECopyright 2005-2009 Claus Faerber.Copyright 2001-2004 Robert Rothenberg. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Visit the GSP FreeBSD Man Page Interface. |