Exctract color scheme from given PNG or JPG file using Kmeans algorithm
Clone the repo
git clone https://github.com/zereaykut/Extract-Color-Scheme
cd Extract-Color-SchemeCreate python environment
python -m venv venvActivate environment in Mac/Linux
source venv/bin/activateActivate environment in Windows
.\venv\Scripts\activateInstall required packages
pip install -r requirements.txtRun application
-c : number of color outputs
-i : image path
-n : name of json output file
python exctract_color_scheme.py -c 6 -i sample.jpg -n sample