It start generating randomly a base color in the HSL color format.
Then generate a palette of 7 colors
, each with a unique trait:
darken
: light value (L of HSL) is incremented by 15%lighter
: light value (L of HSL) is decremented by 15%saturate
: saturation value (S of HSL) is incremented by 15desaturate
: saturation value (S of HSL) is decremented by 15hueRotationPlus
: hue value (H of HSL) is rotated by 90 degreehueRotationMinus
: hue value (H of HSL) is rotated by -90 degreebackground
: light value (L of HSL) is incremented by 30%
This project was bootstrapped with Create React App.
Run the command
npm start