A simple jQuery plugin to extract the dominant color of an image and apply it to the background of its parent element.
jqueryadaptivebackgroundcolorimageprocessing
https://briangonzalez.github.io/jquery.adaptive-backgrounds.js/