Extract prominent colors from images in JavaScript, ported from Android's Palette class.
Vibrant.js is a JavaScript library that extracts prominent colors from images, providing a programmatic way to derive color palettes for dynamic theming. It is a direct port of Android's Palette class, enabling web developers to analyze image colors and create visually harmonious interfaces. The library identifies dominant, muted, and vibrant color swatches that can be used to style applications based on image content.
Frontend and Node.js developers who need to programmatically extract color schemes from images for dynamic theming, visual design, or data visualization projects.
Developers choose Vibrant.js because it brings Android's proven color extraction algorithm to JavaScript, offering a reliable, cross-platform solution for deriving color palettes without requiring complex image processing code.
Extract prominent colors from an image. JS port of Android's Palette.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Direct implementation of Android's Palette class, bringing a proven, sophisticated color extraction algorithm to JavaScript, as highlighted in the README.
Works in both Node.js and browser environments with UMD support, enabling flexible deployment for web and server-side applications.
Returns various swatches like Vibrant, Muted, and Dark Vibrant, providing diverse palette options for dynamic theming and visual harmony.
Easy to install via Bower or npm with minimal setup, offering a straightforward API for quick color extraction from images.
The README explicitly marks it as deprecated, recommending node-vibrant instead, meaning no further development, bug fixes, or support.
Building from source requires CoffeeScript and Gulp, which are less common in modern workflows, adding complexity for contributors or custom builds.
Documentation is hosted externally, and the README redirects to another repo, making it fragmented and potentially outdated for users.