node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

rgba-generate

rgba-generate

var color = requre('rbga-generate')(.6);
console.log(color()); // logs something like 'rgba(123,123,123,.6)' 
console.log(color(.777)); // logs something like 'rgba(123,123,123,.777)'