Paul Miller > Term-ANSIColorx-ColorNicknames > Term::ANSIColorx::ColorNicknames

Download:
Term-ANSIColorx-ColorNicknames-2.7185.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 2.7185   Source  

NAME ^

Term::ANSIColorx::ColorNicknames - nicknames for the ANSI colors

SYNOPSIS ^

    use Term::ANSIColorx::ColorNicknames; # messes with T::AC
    use Term::ANSIColor qw(:constants);   # exports new nicknames now

DESCRIPTION ^

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.

THE NICKNAMES ^

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.

grey grey

Unbolded white.

white

Bolded white.

dire

Scary yellow on red warning color.

FAQ ^

    Q: This is dumb. 

    A: That's not a question, but you're right.  I still use it.

REPORTING BUGS ^

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.

AUTHOR ^

Paul Miller <jettero@cpan.org>

COPYRIGHT ^

Copyright 2009 Paul Miller -- released under the GPL

SEE ALSO ^

perl(1), Term::ANSIColor

syntax highlighting: