vibrant.js - extract prominent colors from an image

Jari Zwarts created a library to extract prominent colors from any image. It's a JavaScript port of the Palette class from the Android SDK.