Color is a simple bash shell script that makes it easy to color and format echo'd text. It does this by converting combinations of readable arguments (bold, red, green, underline, etc.) into an ANSI escape sequence that your terminal emulator or console understands.
Usagecolor [ effect ] [ [ lt ] fgcolor ] [ bgcolor ]
color [ -h | --help ]
fgcolor and fgcolor are one of black, red, green, yellow, blue, magenta, cyan or white.
effect can be any of [ nm | normal ], [ bd | bold ], [ ft | faint ], [ it | italic ], [ ul | underline ], [ bk | blink ], [ fb | fastblink ], [ rv | reverse ], [ iv | invisible ]
Preceed the fgcolor with lt to use a light color -- the light or faint intensity effect is not commonly implemented within terminal emulators or consoles.
Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.