Select an image using the button above and Color Thief will find the 5 most prominent colors.
Awesome Color Thief library by Kokesh Dhakar.