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.