Skip to content

colorjs/color-alpha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

color-alpha stable build size

Change alpha of a color.

npm install color-alpha

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

Input color is parsed with color-parse package.

About

Change alpha of a color string

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •