1.0.1 • Published 5 years ago

color-header v1.0.1

Weekly downloads
3
License
BSD-2-Clause
Repository
github
Last release
5 years ago

Color-Header

A bunch of console colors for coloring terminal output. Port of the entire "Escape-Sequence-Color-Header" to javascript with no dependencies.

Usage

Text Attribute Options:

ATTRIBUTES_OFF, BOLD, UNDERSCORE, BLINK, REVERSE_VIDEO, CONCEALED

Color Options:

BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE

Format:

General Format, include value you want in $variable$

  COLOR_$Foreground Color$_$Background Color$
  COLOR_$Text Attribute$_$Foreground Color$_$Background Color$
  COLOR_NORMAL  // To set color to default

e.g.

  COLOR_BLUE_BLACK // Leave Text Attribute Blank if no Text Attribute appied
  COLOR_UNDERSCORE_YELLOW_RED
  COLOR_NORMAL

Screenshot of very small part of available colors

screenshot

License

BSD 2-Clause, The original Escape-Sequence-Color-Header.h