I don't know if you maintain this but here is an idea for it:
http://jariz.github.io/vibrant.js/
http://lokeshdhakar.com/projects/color-thief/
As a blueprint option, add a key to an image field. When loading the palette it could fill it with values from the images.