Skip to main content

picol

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

 

Screens

Screenshot1

Screenshot2

Screenshot3

 

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 www.hex-color.com.

How to use

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

usage: picol.py [-h] [-s] [-d] [-st] image

positional arguments:
  image

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

Dependencies:

  • colorgram
  • Pillow

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 details)

Uploaded Source

File details

Details for the file picol-0.2.tar.gz.

File metadata

  • Download URL: picol-0.2.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for picol-0.2.tar.gz
Algorithm Hash digest
SHA256 40e946f0fbbe09aec8443efb746caec73cf0e1a90df7914761986950957e58b2
MD5 5547ff029bdef4e9bbc19530796d0873
BLAKE2b-256 5dd74ae316c0688ec4efa503ba63a3994606d25938a7bac4d83c472b6e3a0f4b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2 This release

1 file

0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page