var rgba = require('rgba-color')
var white = rgba(255, 255, 255, 1)
var semiWhite = white(0.5)
white() // => 'rgba(255,255,255,1)'
semiWhite // => 'rgba(255,255,255,0.5)'
stefanduberg / rgba-color Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://www.npmjs.com/package/rgba-color