Acme-AutoColor
view release on metacpan or search on metacpan
SYNOPSIS
use Acme::AutoColor;
$red = RED(); # 'ff0000'
@green = GREEN(); # (0, 255, 0)
DESCRIPTION
This module uses an AUTOLOAD function which assumes unrecognized methods
are color names.
Color names are case-insensitive, though style-wise one should probably
use all capitals.
It returns a hex string or a an array of RGB triplets depending on the
calling context.
Color schemes may be specified in the use line:
use Acme::AutoColor qw( X HTML );
OCTARINE
lib/Acme/AutoColor.pm view on Meta::CPAN
use Acme::AutoColor;
$red = RED(); # 'ff0000'
@green = GREEN(); # (0, 255, 0)
=head1 DESCRIPTION
This module uses an AUTOLOAD function which assumes unrecognized methods
are color names.
Color names are case-insensitive, though style-wise one should
probably use all capitals.
It returns a hex string or a an array of RGB triplets depending on the
calling context.
Color schemes may be specified in the use line:
use Acme::AutoColor qw( X HTML );
=head1 OCTARINE
( run in 0.495 second using v1.01-cache-2.11-cpan-49f99fa48dc )