hr

hex-rgba

Convert HEX to RGBA

Showing:

Popularity

Downloads/wk

9.1K

GitHub Stars

12

Maintenance

Last Commit

4yrs ago

Contributors

3

Package

Dependencies

0

Size (min+gzip)

0.3KB

License

ISC

Type Definitions

Tree-Shakeable

No?

Categories

Readme

HEX to RGBA Build Status

Convert HEX to RGBA

Installation

npm install --save hex-rgba

Usage

import hexToRgba from 'hex-rgba';

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

Test

npm install
npm test

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100