Graphics::ColorNames::GrayScale - RGB values of shades of gray and base colors
require Graphics::ColorNames::GrayScale; $NameTable = Graphics::ColorNames::GrayScale->NamesRgbTable(); $RgbColor = $NameTable->{gray80};
See the documentation of Graphics::ColorNames for information how to use this module.
This module provides grayscale colors for Graphics::ColorNames. The following are valid colors:
Format Example Description grayHH grey80 Gray value in hexidecimal (HH between 00 and ff) grayDDD gray128 Gray value in decimal (DDD between 000 and 255) grayP% gray50% Gray value in percentage (P between 0 and 100)
Besides gray, on can also use the following colors:
gray
red green blue yellow cyan purple
Lower values are darker, higher values are brighter.
Robert Rothenberg <rrwo at cpan.org>
Herbert Breunung <lichtkind@cpan.org>
Copyright (c) 2004-2022 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.
To install Graphics::ColorNames::GrayScale, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Graphics::ColorNames::GrayScale
CPAN shell
perl -MCPAN -e shell install Graphics::ColorNames::GrayScale
For more information on module installation, please visit the detailed CPAN module installation guide.