/Color_Extractor

This program can extract any color from any image. It renders a graph with the percentage of attendance of each color.

Primary LanguagePython

🎨 Color Extractor

This program was developed using Python 3.11. Please be sure to use this version or an older version to avoid any malfunctioning.


This program can extract any color from any given image. It has been successfully tested on .jpg and .png images. The result are given in hexadecimal and only include colors that are more than 1.5% present in the image.


🚀 How to run it?

Pre-requisite : Python must be installed on your computer.

You must install extcolors package, with pip install extcolors.

  1. Drag and drop, copy, or download your image in the images file of this project.

  2. Run the main.py file (open the project in your IDE or right-click on main.py and click Python).

  3. You now just need to enter the number corresponding to your image : the program automatically detects the presence of your image in the file. The name of your image will be displayed in the menu.

⚠️ Please note that it can take a few seconds for the program to extract every color. ⚠️