opacify
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

This is simple lib to receive new opacify color.

Installation

yarn add opacify
# or
npm install opacify

Usage

import opacify from 'opacify';

opacify.rgbaToHex(230, 30, 77, 0.5) // #e61e4d80 

opacify.hexToRgba("#e61e4d", 0.5) // rgba(230, 30 , 77, 0.5)

opacify.hexWithAlpha("#e61e4d", 0.5) //  #e61e4d80

Package Sidebar

Install

npm i opacify

Weekly Downloads

8

Version

1.0.5

License

MIT

Unpacked Size

6.61 kB

Total Files

7

Last publish

Collaborators

  • gizmogrem