I am planning to develop a music player app and I want to make the ui such that the buttons change colour based on the most prominent colour in the album art of the album that is being viewed and in other cases either a preselected colour or the prominent colour of the album of the song that is currently being played.
I would like to know if anybody knows of a method to extract the most prominent colour from an image.