polycolors
v1.0.0
Published
Yet another command-line coloring library with RGB support
Downloads
4
Maintainers
Readme
polycolors
Yet another command-line coloring library with RGB support. You heard it right, you can specify RGB values as an input to colorizer.
Features
- RGB support
- Aliases for common known RGB values
- No dependencies
Getting Started
npm install polycolors
Use an API for common colors
import { fgRed } from "polycolors";
console.log(fgRed("What's up?"));
Use an API for RGB values
import { fgColor } from "polycolors";
console.log(fgColor(255, 0, 0)("What's up?"));