Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 464 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 464 Bytes

🌈 🌈🌈 color-randomizer 🌈 🌈 🌈

Generate random colors

Install

npm install color-randomizer

Use

Param {object} options Options object

For example

var options = {
    format: 'hex' // returns hex
}

more examples

randomColor(); // default to name
randomColor({format: 'hex'}); // returns hex
randomColor({format: 'name'}); // returns name
randomColor({format: 'rgb'}); // returns rgb