img-palette
A javascript implementation of the Palette class from the Android Support Library
Demo
- vibrant
- lightVibrant
- darkVibrant
- muted
- lightMuted
- darkMuted
- vibrant
- lightVibrant
- darkVibrant
- muted
- lightMuted
- darkMuted
- vibrant
- lightVibrant
- darkVibrant
- muted
- lightMuted
- darkMuted
- vibrant
- lightVibrant
- darkVibrant
- muted
- lightMuted
- darkMuted
- vibrant
- lightVibrant
- darkVibrant
- muted
- lightMuted
- darkMuted
Installation
npm install img-palette
Overview
Usage
var Palette = require('img-palette');
var colors = new Palette(document.findElementById('image'));