Term::ANSIColorx::ColorNicknames - nicknames for the ANSI colors
use Term::ANSIColorx::ColorNicknames; # messes with T::AC use Term::ANSIColor qw(:constants); # exports new nicknames now
I have a hard time remembering the ANSI colors in terms of bolds and regulars, and also find them irritating to type. If I want the color YELLOW, why should I have to type BOLD() . YELLOW() to get it? YELLOW() is really orange colored, yellow should always be bold. Also, the color BLACK is basically useless, on a black background at least, which is my modus operandi, your mileage may vary.
YELLOW
BOLD() . YELLOW()
YELLOW()
BLACK
Except where they are intentionally overwritten, the original Term::ANSIColor names should still be exported correctly.
blood
Alias for the color red.
umber
Alias for bold red.
sky
Alias for bold blue.
ocean
Replaces the color cyan, which should be very bright.
lightblue
Alias for ocean.
cyan
Cyan is the bold of the ocean. It's a bright cyan color.
lime
Bolded green. It's really a lime color.
orange
brown
Orange. Most correctly, what ANSI calls "yellow", but is really more of a brown-orange.
yellow
Yellow. Technically bolded yellow.
purple
Alias for magenta. I can never remember which is right, probably thanks to CSS.
violet
Bolded purple.
black
Bolded black. Black, being totally useless on dark backgrounds. This replacement can be disabled with either $ENV{DISABLE_BLACK} or via $Term::ANSIColorx::ColorNicknames::DISABLE_BLACK -- although the later must be invoked before use compiles the nicknames module.
$ENV{DISABLE_BLACK}
$Term::ANSIColorx::ColorNicknames::DISABLE_BLACK
grey
Unbolded white.
white
Bolded white.
dire
Scary yellow on red warning color.
Q: This is dumb. A: That's not a question, but you're right. I still use it.
You can report bugs either via rt.cpan.org or via the issue tracking system on github. I'm likely to notice either fairly quickly.
Paul Miller <jettero@cpan.org>
<jettero@cpan.org>
Copyright 2009 Paul Miller -- released under the GPL
perl(1), Term::ANSIColor
To install Term::ANSIColorx::ColorNicknames, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Term::ANSIColorx::ColorNicknames
CPAN shell
perl -MCPAN -e shell install Term::ANSIColorx::ColorNicknames
For more information on module installation, please visit the detailed CPAN module installation guide.