This is a simple web application that generates a color palette from an uploaded image. The generated color palette consists of a specified number of colors extracted from the image.
-
Clone the repository
-
Install the required dependencies:
pip install -r requirements.txt
- Run the application:
python main.py
-
Open your web browser and go to
http://localhost:5000
. -
Upload an image file and specify the number of colors to extract.
-
Click the "Submit" button to generate the color palette.
-
The generated color palette will be displayed with image showing below.
Feel free to explore and modify the code to suit your needs.