Vibrant.js
Extract prominent colors from an image. JS port of Android's Palette
Vibrant.js is a JavaScript library for extracting prominent colors from images to generate aesthetically pleasing color palettes. It is inspired by the Android Palette API and allows developers to style interfaces dynamically based on image content. Common use cases include adapting UI elements to match album art, user avatars, or featured content images.