Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ginko
on Jan 1, 2023
|
parent
|
context
|
favorite
| on:
Brute Force Colors
Finding the right palette for pictures like that is a good application of k-means clustering[1]. Remember to convert the colors into a perceptually uniform color space first, though.
[1]
https://en.wikipedia.org/wiki/K-means_clustering
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[1] https://en.wikipedia.org/wiki/K-means_clustering