rgba-string
this function generates rgba color strings from numeric input
Getting started
Install rgba-string
using npm.
npm install rgba-string --save
ES6, CommonJS, and UMD builds are available with each distribution.
example:
const red = // 'rgba(211, 46, 45, 1)'const red30 = // 'rgba(211, 46, 45, 0.3)'