1.1.1 • Published 3 years ago

smart-swatch v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Smart Swatch CLI production

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 ❤️