Extract dominant colors from any image
A Color Palette Extractor identifies dominant colors in uploaded photographs using K-Means clustering algorithms.
Upload an image and the tool automatically extracts a palette of dominant colors. Choose 4, 6, 8 or 10 colors from the dropdown. Each swatch shows HEX, RGB and HSL values, and you can click one to copy it. Nothing is uploaded, since it runs in your browser.
It shrinks the image to a small sample, ignores mostly transparent pixels, then groups similar colors together with a clustering method and averages each group. The result is the representative dominant colors, not an exact list of every color in the image.
Upload the picture and click the swatch closest to the shade you want. The HEX code, for example #4648d4, is copied to your clipboard and also shown as RGB and HSL. This gives dominant colors, so it will not pick out one exact pixel.
Dominant colors reflect how much of the image each color covers, so tiny details may be merged into a larger group. Try a higher color count, such as 10, or crop the image to the region you care about and extract again.
Yes. Copy the HEX or RGB values into your CSS, Figma or design tool. Extracted colors are a great starting point, but check contrast for text, since WCAG recommends at least 4.5 to 1 for normal body text.
They describe the same color in different ways. HEX is a compact code like #ff8800, RGB gives red, green and blue values from 0 to 255, and HSL uses hue, saturation and lightness, which makes it easier to make a color lighter or darker by hand.
No. Toolskyt operates under a zero-server policy. All calculations, data formatting, and file exports are executed locally on your machine.
No, this tool is 100% free. There are no limits, sign-ups, subscriptions, or hidden charges required.
Export your image as WebP or PNG format. Standard JPEG format does not support transparent layers and will convert transparency to white.