Skip to content
/ picol Public

Fetch the ten most used colors in an image and present the hex colors

Notifications You must be signed in to change notification settings

geirawsm/picol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

 

Installation

Easiest way possible:

pip install picol

 

How to use

Run picol with path to an image as an argument: picol ~/Pictures/picture.jpg

usage: piccol [-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

About

Fetch the ten most used colors in an image and present the hex colors

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages