Designers · Free · In-Browser

Pull a palette from any photo.

Drop an image, get the dominant colors as hex / RGB / HSL. Click to copy. Export as CSS variables or JSON. Designers' workflow, no upload required.

Drop an image to extract its palette

JPG, PNG, WebP — any image works.

Image preview for color extraction

More designer tools

How the extraction works

PixlFits uses median-cut quantization — a battle-tested algorithm for finding the most representative colors in an image. It analyzes every pixel, partitions the color space into the requested number of buckets, and returns the average color of each bucket.

This is the same algorithm GIF encoders use internally, and it's the standard for design-tool palette extractors. Results are deterministic — the same image always gives the same palette.

Frequently asked questions

What's the difference from Adobe Color or Coolors?

Adobe Color uploads your image to Adobe's servers. Coolors generates random palettes (not from your image). PixlFits keeps your image local and returns the actual dominant colors in it.

Can I use the palette commercially?

Yes — colors aren't copyrightable. The extracted palette is yours to use freely.

Does it work on PNGs with transparency?

Yes — transparent pixels are excluded from the color calculation, so the palette reflects only the visible parts of the image.