A script for grabbing the dominant color or color palette from an image. Uses Javascript and the canvas tag to make it happen.
Read more on my blog | Get the code on Github