Vibrant
A Node.js and Browser compatible image color extraction library

- Vibrant
- Dark Vibrant
- Light Vibrant
- Muted
- Dark Muted
- Light Muted
Examples

- Vibrant
- Dark Vibrant
- Light Vibrant
- Muted
- Dark Muted
- Light Muted

- Vibrant
- Dark Vibrant
- Light Vibrant
- Muted
- Dark Muted
- Light Muted
Usage
npm i node-vibrant
// Nodeimport { Vibrant } from "node-vibrant/node";// Browserimport { Vibrant } from "node-vibrant/browser";// Web Workerimport { Vibrant } from "node-vibrant/worker";
// Using builderVibrant.from("path/to/image") .getPalette() .then((palette) => console.log(palette));
// Using constructorlet v = new Vibrant("path/to/image", opts);v.getPalette().then((palette) => console.log(palette));