to-rgba
v0.1.0
Published
Convert hex colors to rgba.
Downloads
4
Readme
#to-rgba
Convert hex colors to rgba.
Install:
npm i to-rgba --save
import rgba from 'to-rgba';
var style = {
background: rgba('#000', 0.1)
// background: 'rgba(0, 0, 0, 0.1)'
};