random-color

Module to generate random RGB colors

npm install random-color
6 downloads in the last month

random-color

Module to generate random RGB colors

randomColor = require('random-color')

randomColor()
// => rgb(30, 40, 50)

randomColor(25)
// => rgb(22, 13, 5)

Install

$ npm install random-color

npm loves you