DEV Community

Discussion on: Deconstructing Art: Learning From Constraints

 
grahamthedev profile image
GrahamTheDev

Start with a Minimal Viable Product and add that feature later, it is actually really easy to grab the colours from an image though if you don't mind a large(ish) library - lokeshdhakar.com/projects/color-th....

Thread Thread
 
madsstoumann profile image
Mads Stoumann

Exactly - I looked into Color Thief the other day as well!
If I just want one main color, the small script that I wrote for Image Energy Calculation, will do the work. It returns the average percentages of R, G and B– and the percentage-format works just fine: rgb(40%, 66%, 33%). But again, I need more time!!!