colorfoos

1.0.6 • Public • Published

Installing

npm:

npm install colorfoos

yarn:

yarn add colorfoos


Usage

Require the module:

const colorfoos = require('colorfoos')

Call a method:

const newHexColor = colorfoos.generateHexColor()


Methods:

  • generateHexColor()

Generates a random hex color value and returns it as a string.
e.g.

const hex = colorfoos.generateHexColor()  
console.log(hex) // #8A94BE

Package Sidebar

Install

npm i colorfoos

Weekly Downloads

7

Version

1.0.6

License

ISC

Unpacked Size

1.07 kB

Total Files

3

Last publish

Collaborators

  • balthier