0.0.1 • Published 6 years ago

alphach v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

alphach

CircleCI codecov

This package helps you to add and modify alpha channel in existing rgb or rgba strings.

Small example:

import color from 'alphach';

color('rgba(0, 255, 0, .6)', '.1'); // returns rgba(0, 255, 0, .1) string

Currently only rgb(a) strings are supported.

0.0.1

6 years ago