1.0.2 • Published 2 years ago

rgb-random-bw v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

rgb-random-bw

A simple npm proyect, that gives you a series of random colors in ⠀R G B ⠀format.

Install

npm i rgb-random-bw

Usage

In your Command Line Interface aka CLI

Type: npm start 'Number'

Where Number is a Number from 1 to 6, and press Enter

npm start 3

Result:

1 rgb(46,23,61)

2 rgb(158,79,197)

3 rgb(119,0,122)

Or

npx rgb-random 'Number'

Then you will be asked to:

Need to install the following packages:

rgb-random @1.X.X

Ok to proceed? (y)

Press 'y' and hit Enter

npx rgb-random 6

Result:

1 rgb(254,133,38)

2 rgb(92,225,198)

3 rgb(168,91,234)

4 rgb(128,204,126)

5 rgb(212,125,101)

6 rgb(177,120,84)