smart-swatch
v1.1.1
Published
Node tool to generate a palette of colors from a single one
Downloads
1
Maintainers
Readme
Smart Swatch CLI
The purpose of this library is to implement the color palette generation used in smart-swatch as a node CLI tool.
Installation
npm install -g smart-swatch
Usage
npx smart-swatch "#C70833"
# Output
{
"50": "#ffe2ec",
"100": "#ffb3c5",
"200": "#fc839f",
"300": "#f95278",
"400": "#f62252",
"500": "#dd0939",
"600": "#ad032c",
"700": "#7c001e",
"800": "#4d0012",
"900": "#200005"
}
Inspired by smart-swatch. Special thanks to Ivan Dalmet ❤️