#color #palette #sha3 #img-hash

bin+lib palette-arcade

Generates a SHA3-512 hash and color palette for images

9 stable releases

1.4.5 Feb 11, 2021
1.2.6 Jan 21, 2021
1.1.4 Dec 27, 2020
1.1.0 Nov 22, 2020
0.1.0 Aug 8, 2020

#647 in Images

36 downloads per month


364 lines

Crate color-thief is a CLI application that generates a SHA3-512 hash and a color palette for a provided image file and stores both in a sqlite database.

To install the application, first ensure that ImageMagick is installed on your machine. Then run:

cargo install color-thief


To generate a color palette for a single image:

color-thief fetch path/to/image.jpg

To generate color palettes for a directory (including all subdirectories):

color-thief scan path/to/directory


~327K SLoC