🌓 color-variants
Generate light and dark variants of a color
Usage
Install
npm install color-variants
Import
// ES modules // CommonJSconst colorVariants = default
Use
// [// '#FEEEE7',// '#FCC2AF',// '#FB8C76',// '#FD4C3C',// '#FF0000', <- base// '#BF0000',// '#800000',// ]
Inspiration
- scale by Hayk An
- palx by Brent Jackson