GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Graphics::ColorNames::WWW(3) User Contributed Perl Documentation Graphics::ColorNames::WWW(3)

Graphics::ColorNames::WWW - WWW color names and equivalent RGB values

  require Graphics::ColorNames::WWW;

  $NameTable = Graphics::ColorNames::WWW->NamesRgbTable();
  $RgbBlack  = $NameTable->{black};

This 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.

Reportedly "fuchsia" was misspelled "fuscia" in an unidentified HTML specification. It also appears to be a common misspelling, so both names are recognized.

The "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)

Graphics::ColorNames::HTML, Graphics::ColorNames::CSS, Graphics::ColorNames::SVG

Claus Faerber <CFAERBER@cpan.org>

Based on "Graphics::ColorNames::HTML" by Robert Rothenberg.

Copyright 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.

2022-04-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.