https://github.com/xanderlewis/colour-palettes
Generate colour palettes from an image. 🎨
https://github.com/xanderlewis/colour-palettes
colour palettes
Last synced: 3 months ago
JSON representation
Generate colour palettes from an image. 🎨
- Host: GitHub
- URL: https://github.com/xanderlewis/colour-palettes
- Owner: xanderlewis
- Created: 2017-09-30T22:47:24.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-08T11:38:06.000Z (about 8 years ago)
- Last Synced: 2024-08-14T10:13:52.718Z (about 1 year ago)
- Topics: colour, palettes
- Language: JavaScript
- Homepage:
- Size: 4.79 MB
- Stars: 27
- Watchers: 3
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Generate colour palettes from images.
### Just supply an image, and get a custom set of colours generated from the colours in the image.
Currently, *colour-palettes* uses a simple k-means clustering algorithm and calculates the mean colour of each cluster in order to produce a palette. This may change in the future as I tweak the algorithm and possibly introduce additional user controls.