Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

colorainbow

1.0.3 • Public • Published

colorainbow

Easiest way for create rainbow color for your projects

Installation

  • npm npm install colorainbow
  • bower bower install colorainbow
  • yarn yarn add colorainbow
  • Zip Release Download

How to use

var rainbows = Colorainbow.generate(10);
 
for(var i=0;i<rainbows.length;i++) {
  console.log(rainbows[i].toString()); // Rgb Color Value
  console.log(rainbows[i].alpha(0.4).toString()); // Rgba Color Value
  console.log(rainbows[i].hexString()); // Hex Color Value
}
 

Install

npm i colorainbow

DownloadsWeekly Downloads

2

Version

1.0.3

License

MIT

Last publish

Collaborators

  • avatar