Numerous Pulls Merged

    hex2rgba

    0.0.1 • Public • Published

    hex2rgba

    NPM

    NPM version Build Status Coverage Status

    Converts hexadecimal to RGBA:

    hex2rgba(hexadecimal[, alpha])
    

    Example:

    var hex2rgba = require('hex2rgba');
    hex2rgba('#f00');         // 'rgba(255,0,0,1)'
    hex2rgba('BADA55', 0.42); // 'rgba(186,218,85,0.42)'

    Install

    $ npm install hex2rgba

    Testing

    $ npm test
    $ npm run lint

    License

    MIT

    Install

    npm i hex2rgba

    DownloadsWeekly Downloads

    8,364

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • remarkablemark