hexcolor-random
v1.0.2
Published
Library for generating random color in the form of HEX code
Downloads
16
Maintainers
Readme
How Get random HEX Code
- Install Libary - npm i hexcolor-random
- Import Libary -
const/let VARIABLE NAME = require('hexcolor-random')
- Enter in your code -
RandomHEXCode.randomHEXCode()
RandomHEXCode.randomHEXCode()
- Does not receive any arguments
Example
const RandomHEXCode = require('hexcolor-random')
// The name of the variable can be any
const obj = new RandomHEXCode
console.log(obj.randomHEXCode())