0.0.1 • Published 6 years ago
alphach v0.0.1
alphach
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