1.0.4 • Published 6 years ago

colormaker v1.0.4

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

COLORMAKER

Simple and easy use module that has the tools to generate colors on the fly.

How to install

npm install colormaker -S

How to use

var cm = require('colormaker');

cm.getRandomColors(n); // This will output 5 colors
                      // By default is 1

/*
  This will return an array of 4096 hex colors
*/
cm.getAllColors(); 

/*
  Returns an array with all the colors that makes
  a primary color
*/
cm.paintPrimary(primary_color); // r, g, b

I'm just playing around but it would be great if someone would'd like to add extra features

1.0.4

6 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago