2.0.0 • Published 9 months ago
color-alpha v2.0.0
color-alpha
Change alpha of a color.
import α from 'color-alpha'
α('white', .4); // 'rgba(255,255,255,.4)'
Input color is parsed with color-parse package.
Change alpha of a color.
import α from 'color-alpha'
α('white', .4); // 'rgba(255,255,255,.4)'
Input color is parsed with color-parse package.