A colour palette extractor finds the handful of colours that make up an image. This tool samples the image's pixels and groups similar colours with k-means clustering, a standard method that finds the centre of each colour group. You choose between 3 and 12 colours, and for each one you get its HEX code, RGB value and its share of the image.
After the first extraction you can change the number of colours or the order (most used, light to dark, or by hue) as often as you like. Click a colour to copy its HEX code, and export the full palette as CSS custom properties, a JSON file or a PNG swatch strip for mood boards and briefs.
Limits: the colours are averages of each group, so a palette from a photo can include a blended shade that no single pixel has exactly. Fully transparent areas are ignored. For a logo with a few flat colours, ask for the same number of colours as the logo has to get its exact codes. For one exact pixel, an eyedropper tool is the better choice.