Vibrant.js – Extract prominent colors from an image.

Extract prominent colors from an image. Vibrant.js is a javascript port of the awesome Palette class in the Android support library. As you can see, Vibrant’s first argument is an image. Make sure it’s loaded before passing it off to Vibrant.