Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
aaronblohowiak
on Jan 7, 2012
|
parent
|
context
|
favorite
| on:
Color Thief, script for grabbing the color palette...
You can do this by representing the colors into HSV and then modifying the hue by 180%, desaturating them and then adjusting the brightness (v). Most color libraries will let you deal in RGB(A) or HSV so this is pretty straightforward to DIY.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: