col

colormaker

NPM module that supplies a bunch of methods to generate colors according to a pattern

Showing:

Popularity

Downloads/wk

6

Maintenance

No Maintenance Data Available

Package

Dependencies

1

Size (min+gzip)

7.9KB

License

ISC

Type Definitions

Tree-Shakeable

No?

Categories

Readme

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100