Skip to content

dimitriadamou/image-common-color

Repository files navigation

About

This is a simple library which grabs the common colors from an image. I use this in my own project to theme my site around a users custom logo upload.

Usage

Simply pass a file blob to ImageCommonColor

import ImageCommonColor from 'image-common-color';
...
ImageCommonColor(fileBlob).then(
    (list) => console.log(list)
);

Check the example for a quick demonstration using React.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published