color-thief

Grabs the dominant color or a representative color palette from an image. Uses javascript and canvas.