A script based on Pillow that extracts the predominant RGB color out of an image.
- The example image is located in the repo.
$ ./predominantcolor abstract.jpg Calculating...... Predominant RGB: (24, 14, 56)
$ git clone https://github.com/TudorGruian/PythonPredominantColor.git
$ cd PythonPredominantColor
$ sudo pip3 install Pillow #if you don't have it installed
$ chmod +x predominantcolor
$ ./predominantcolor
SYNTAX: ./predominantcolor <path-to-file>

