I always enjoy sharing excellent finds and this is definitely an excellent find. If you haven’t already used Color Thief then you’re missing out on ingenuity. Just simply take an image and this will give you the primary color along with all the other colors in the color palette that are used in the image. You can test it out a few times with some images he has supplied and at the bottom you can test it out with your own image. This script uses entirely JavaScript.
Lokesh Dhakar has created many other amazing scripts that are free for use. The first script that I had used of his was lightbox which he dominates the search engine with the #1 result for the term lightbox. Check out his website!
TAGS: