Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/krmax44/vibrant-colors

A CLI for getting vibrant colors from an image.
https://github.com/krmax44/vibrant-colors

cli colors image vibrant

Last synced: about 2 months ago
JSON representation

A CLI for getting vibrant colors from an image.

Awesome Lists containing this project

README

        

# Vibrant Colors

A CLI for getting vibrant colors from an image using node-vibrant.

![Preview](screenshot.png)

## Usage

```bash
# install it globally
npm i -g vibrant-colors
vibrant-colors my-photo.jpg

# or try it with npx
npx vibrant-colors my-photo.jpg
```

## Options

See `vibrant-colors --help`:

```
Usage: index [options]

Options:
-V, --version output the version number
-q, --quality Quality: Scale down factor used in downsampling stage. 1 means no downsampling.
If maxDimension is set, this value will not be used. Default: 5.
-c, --color-count Color count: amount of colors in initial palette from which the swatches will be generated. Default: 64
-h, --help output usage information
```