Deprecated.
The maintainer of this module has indicated that the module is deprecated and no longer suitable for use.
NAME
Color::Calc::hex - DEPRECATED: Simple calculations with colors (output in hex)
SYNOPSIS
use Color::Calc::hex;
print color( 'pink' ); # prints 'ffc0cb'
DESCRIPTION
This module is deprecated as it does not allow selecting the scheme of recognized color names, which defaults to Graphics::ColorNames::X and is incompatible with HTML's color names.
This module is nearly identical to using the following:
use Color::Calc('ColorScheme' => 'X', 'OutputFormat' => 'hex');
However, this module also makes the functions available when not imported:
use Color::Calc::hex(); # don't import
Color::Calc::hex::color('F00');
AUTHOR
Claus Färber <CFAERBER@cpan.org>
LICENSE
Copyright © 2004-2009 Claus Färber.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.