1.0.2 • Published 5 months ago

hexcolor-random v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

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())

Arguments from obj.randomHEXCode() = A40FBC(Example) In String Format