gen-color-preview
A very simple package that creates a png image with a colored circle.
Usage
npx gen-color-preview --color <hexCode> --output <fileName>
Options
Command | Description | Type | Required |
---|---|---|---|
-c, --color | RGB color value (#D20F39) | string | Yes |
-o, --output | File name to save, without extension | string | Yes |
-h, --help | Show help | ||
--version | Show version |
Output
npx gen-color-preview -c '#d20f39' -o preview01