rainbow-gen
v2.0.0
Published
A function that create an array of hex colors based on the rainbow :D
Downloads
3
Readme
rainbow-gen
JavaScript library for creating :rainbow: s! Uses node/commonjs modules. Works on a server or browser. Oh happy day! :two_men_holding_hands: :penguin: :tada: :tada:
Usage
// Using ES5
var rainbowGen = require('rainbow-gen').generateRainbow;
// Using ES6 modules (using Babel)
import rainbowGen from 'rainbow-gen';
const rainbow = rainbowGen(); // defaults to typical ROYGBIV style rainbow