Skip to content

davidpoza/dps-palette-generator

Repository files navigation

dps-palette-generator

A color palette generator in react

The UI uses React.js, as a simple example of basic using. It's allow selecting a photo and locally(using Web Workers) calculates the 10 most representative colors. It works positioning all the pixels of the image in a x,y,z space using its RGB components. After that, divides de 3d space in equal parts, called buckets. Finally it selects the 10 most populated buckets and calculates each bucket average color.

About

A color palette generator in react

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published