Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

color-alpha

1.0.4 • Public • Published

color-alpha unstable Build Status

Change alpha of a color without requiring huge color libs.

npm install color-alpha

const α = require('color-alpha');
α('white', .4); // 'rgba(255,255,255,.4)'

Related

color-interpolate — interpolate color over palette, colormap or gradient.

Install

npm i color-alpha

DownloadsWeekly Downloads

63,856

Version

1.0.4

License

MIT

Unpacked Size

3.25 kB

Total Files

6

Last publish

Collaborators

  • avatar