Skip to main content

picol (pronounced "pickle") will fetch the ten most used colors in an image and present the hex colors.

Project description


picol (pronounced "pickle") is a Python script to fetch the ten most used colors in an image and present the hex colors.







Short description

This script uses the colorgram library to extract the ten most used colors in an image. It then makes an image like shown in the screens above, or it can output text with links to

How to use

Minimum to run the script is with path to an image as an argument: ./ ~/Pictures/picture.jpg

usage: [-h] [-s] [-d] [-st] image

positional arguments:

optional arguments:
  -h, --help         show this help message and exit
  -s, --save-image   Save image to a given file
  -d, --do-not-show  Do not show the image that is made
  -st, --save-text   Save text to a given file


  • colorgram
  • Pillow

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

picol-0.2.tar.gz (1.0 MB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page