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.
Pre-requisite : Python must be installed on your computer.
You must install
extcolors
package, withpip install extcolors
.
-
Drag and drop, copy, or download your image in the
images
file of this project. -
Run the
main.py
file (open the project in your IDE or right-click onmain.py
and clickPython
). -
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.⚠️