color-alpha
Change alpha value of a color string
Last updated 5 years ago by dfcreative .
MIT · Repository · Bugs · Original npm
$ cnpm install color-alpha 
SYNC missed versions from official npm registry.

color-alpha stable build size

Change alpha of a color with mercy on node_modules.

npm install color-alpha

import α from 'color-alpha'
α('white', .4); // 'rgba(255,255,255,.4)'

Input color is parsed with color-parse package.

Current Tags

  • 1.1.2                                ...           latest (5 years ago)

2 Versions

  • 1.1.2                                ...           5 years ago
  • 1.0.4                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org