hex-rgba
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/hex-rgba package

1.0.2 • Public • Published

HEX to RGBA

Convert HEX to RGBA

Installation

npm install --save hex-rgba

Usage

var hexToRgba = require('hex-rgba');

var rgba = hexToRgba('#1B2B34', 40);
// rgba return rgba(27, 43, 52, 0.4)

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i hex-rgba

    Weekly Downloads

    18,920

    Version

    1.0.2

    License

    ISC

    Last publish

    Collaborators

    • developersoul