random-color-pair
v1.0.5
Published
Generate two random colors: one darker and one lighter.
Downloads
6
Maintainers
Readme
random-color-pair
Generate two random colors: one darker and one lighter.
Quickstart
Install the package:
npm i random-color-pair
Import the function:
const getColorPair = require("random-color-pair");
// OR
import getColorPair from "random-color-pair";
Get the colors:
const [foreground, background] = getColorPair();