hex_a-to-rgba

1.0.4 • Public • Published

hex_a-to-rgba

How To Use:

First require the package:

$ const convertColor = require("hex_a-to-rgba");

Then call the function with a value:

convertColor ('');   // Will return an error message

convertColor ('#000000');   / will return rgb(0,0,0)

convertColor ('( 255,255,255,.5)') / will return #ffffff80

Contribute to the project or fork it if you like ! :)
Have fun. XD

Package Sidebar

Install

npm i hex_a-to-rgba

Weekly Downloads

5

Version

1.0.4

License

ISC

Unpacked Size

3.71 kB

Total Files

4

Last publish

Collaborators

  • samirjouni