A Python module for extracting colors from images. Get a palette of any picture!
Pillow Image
objects can now be passed directly to extract
.
Colors are now namedtuple
s, so values can be accessed through, for example, Color.rgb.g
or Color.hsl.h
.
The complete colorgram.py. Results accurate to those of colorgram.js 0.1.5, which at the time of writing is the latest.