@f/hex-to-rgba

Convert a hexadecimal color code to an RGBA array

Stats

StarsIssuesVersionUpdatedCreatedSize
@f/hex-to-rgba
001.0.16 years ago6 years agoMinified + gzip package size for @f/hex-to-rgba in KB

Readme

hex-to-rgba

Build status Git tag NPM version Code style

Convert a hexadecimal color code to an RGBA array

Installation

$ npm install @f/hex-to-rgba

Usage

var hexToRgba = require('@f/hex-to-rgba')

API

hexToRgba(arg)

  • arg -

Returns:

License

MIT

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.