Extract a dominant or vibrant accent color from a user-uploaded photo to auto-theme a web UI
Build an interface that dynamically adapts its color palette to match a piece of artwork or album cover
This repo is deprecated, use node-vibrant instead for active support.
Vibrant.js is a JavaScript library that extracts the most prominent colors from an image. Given an image, it analyzes the pixels and returns a small set of representative colors, such as the dominant color, a vibrant accent color, and muted variants. This kind of color extraction is useful for building interfaces that adapt their color scheme to match a piece of artwork or a user-uploaded photo. The library is a port of the Palette class from the Android support library, which Android developers use for the same purpose when building apps that dynamically theme themselves based on images. Importantly, the README marks this repository as deprecated. Active development has moved to a successor project called node-vibrant, which is maintained separately and supports both Node.js and browser environments. The README explicitly recommends using node-vibrant rather than this original version, and directs all new issues there. This repository is kept for historical reference only. If you are looking for a maintained version of this color extraction tool for JavaScript projects, the README points to node-vibrant as the place to go.
← jariz on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.