@f/hex-to-rgba

Convert a hexadecimal color code to an RGBA array

Usage no npm install needed!

<script type="module">
  import fHexToRgba from 'https://cdn.skypack.dev/@f/hex-to-rgba';
</script>

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