Pull the dominant colors from any picture and export them as CSS, SCSS, JSON or Tailwind.
Pull the main colors out of any picture, with HEX, RGB and HSL codes.
JPG, PNG, WebP, GIF, SVG · you can also paste with Ctrl+V · never uploaded
No image handy?
Click anywhere on the picture to pick the exact color at that point.
The tool looks at every pixel in your image and groups similar colors together using the median-cut method, the same idea used when images are reduced to a limited palette. Each group is averaged into one representative color, and the percentage shows how much of the picture it covers. Fully transparent pixels are ignored, so a logo with a see-through background gives you the logo’s own colors.
Your image is read by your browser and never uploaded. There is nothing to sign up for, and it works even on a slow connection once the page has loaded.
Drop the image into the tool above. It lists the dominant colors with their HEX, RGB and HSL codes. Click any swatch to copy the code.
Click the exact spot in the picture and the tool copies that pixel’s HEX code. It is added to “Colors you picked” so you can copy it again later.
No. The image is processed entirely in your browser, so private photos and unreleased designs stay on your device.
Each swatch is the average of many similar pixels, so it can differ slightly from any single pixel. Use the click-to-pick feature when you need the exact color at one point. JPEG compression can also shift colors by a small amount.
For each color, the tool shows whether white or black text is easier to read on it and the WCAG contrast ratio. A ratio of 4.5:1 or more meets the AA level for normal text, and 7:1 or more meets AAA. “AA large” (3:1 or more) is enough only for large or bold text.
Yes. Choose CSS, SCSS, JSON or Tailwind under “Export the palette”, then copy the code straight into your project.
JPG, PNG, WebP, GIF (first frame), SVG, BMP and AVIF, as long as your browser can open them. HEIC photos from some phones need to be converted to JPG or PNG first.
Yes, it is free with no limits and no sign-up.