Package Exports
- @evenifumiss/gradient-color-calculator
- @evenifumiss/gradient-color-calculator/dist/index.min.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@evenifumiss/gradient-color-calculator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gradient-color-calculator
Enter the starting, ending colors and the total number of gradients needed, and you will get an array of gradient hexadecimal color code including the starting and ending colors.
Usage
getGradientColors({ startColor: "#000000", endColor: "#ffffff", amount: 10 })
// "#000000", "#1c1c1c", "#393939", "#555555", "#717171", "#8e8e8e", "#aaaaaa", "#c6c6c6", "#e3e3e3", "#ffffff"