Vibrant.js - Extract prominent colors from an image.
reference | get() - P5.js When getting an image, the x and y parameters define the coordinates for the Getting the color of a single pixel with get(x, y) is easy, but not as fast as
Click the box above or drag and drop any PNG, JPG, or GIF image to get a palette of colors based on the image. It even works on animated GIFs! Choose the number of colors that you'd like to get from your image, from 1 to 128, and choose a view type, regular or compact. You can change the number of colors or view type after processing your photo.