Skip to content

vishwas-r/JSGradient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSGradient

Simple JavaScript package for developers to generate gradient colors. It generates list of colors between 2 colors as hex code.

JSGradient on npmjs JSGradient on jsdelivr JSGradient on Openbase

Usage

var gradientColors = new JSGradient(["#8A2387", "#F27121"], 3); //Returns ["#8a2387", "#ac3d65", "#cf5743"]

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT