take-colors
v1.1.0
Published
Take Color
Downloads
1
Maintainers
Readme
take-color
Take Color
v1.1.0
Installation
npm i -S take-color
Usage
var color = require('take-color');
color.fromImage('./test/static/test.png').then( res => {
console.log( res ); // [ [ 'SteelBlue', [ 70, 130, 180 ], '1.00' ] ]
});
color().fromName('Blue', 'blue.jpg').then( () => {
console.log( 'blue file created' );
});
Tests
npm test
Change Log
Created by
Dimitry, [email protected]
curl -A cv ivanoff.org.ua