smart-swatch

1.1.1 • Public • Published

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

Package Sidebar

Install

npm i smart-swatch

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

16.2 kB

Total Files

22

Last publish

Collaborators

  • chrisodicho