0.0.4 • Published 1 year ago
@creatrix/hextorgba v0.0.4
installation
convert hex color to RGBA
example
yarn add @creatrix/hextorgba
npm i @creatrix/hextorgba
import {convertHexToRGBA} from @creatrix/hextorgba;
const hexcolor='#FFF';
const converttorgba=convertHexToRGBA(hexcolor,'0.5') // rgba(255,255,255,0.5)