Module

generateProgressiveColorsOfSameHue

Generate a set of colors from original color to changes of targetValue. For example, generateProgressiveColorsOfSameHue(270, 10) to generate 10 purple colors from darker to lighter
Parameters:
Name Type Description
hue 0 - 360. If greater than 360, will use value of mod 360. Default to 270 (purple theme)
numberOfColors
options

View Source style/generateProgressiveColorsOfSameHue.js, line 4

array of HSL color code