1.0.3 • Published 3 years ago
supercolors.js v1.0.3
SuperColors.js
A Package allows you to use some colors in your Command Prompt!
Installation
npm install supercolors.js
Colors and Styles (And Extras) !
Text Colors
- Black
- Red
- Green
- Yellow
- Blue
- Magenta
- Cyan
- White
Bright Text Colors
- brightRed
- brightGreen
- brightYellow
- brightBlue
- brightMagenta
- brightCyan
- brightWhite
- brightGrey
- brightGray
Background Colors
- bgBlack
- bgRed
- bgGreen
- bgYellow
- bgBlue
- bgMagenta
- bgCyan
- bgWhite
Bright Background Color
- bgBrightRed
- bgBrightGreen
- bgBrightYellow
- bgBrightBlue
- bgBrightMagenta
- bgBrightCyan
- bgBrightWhite
- bgBrightGrey
- bgBrightGray
Styles
- reset
- bright
- blink
- underline
Extras
- Rainbow
- America
- France
- Zebra
- Random
Leet
rgbColor(r, g, b);
- hexColor(hexCode);
- rgbBackground(r, g, b);
- hexBackground(hexCode);
Usage
var SColors = require('SuperColors.js');
console.log("hi".green);
console.log("how are you today?".brightRed.underline);
console.log("I hope you will use this package!".rainbow.bright);