Color Palette Extractor — Get Colors from Any Image

Drop in a photo, logo or screenshot to pull out its main colours. Copy any HEX code with a click, pick exact colours straight off the image, and export the palette as CSS, Tailwind, SCSS or JSON.

UtilityRuns in your browser — nothing uploaded

Your palette appears here.

Read in your browser — the image is never uploaded. Transparent areas are ignored. Swatches are colours that really appear in the image, ordered by how much of it they cover.

How it works

  1. 1

    Reads every pixel

    The image is scaled to a working size and every visible pixel is counted. Transparent areas are ignored, so logos on transparent backgrounds work cleanly.

  2. 2

    Groups colours the way eyes see them

    Pixels are clustered in the OKLab colour space, where equal distances look equally different. That keeps a small bright accent from being swallowed by a large background.

  3. 3

    Shows real colours

    Each swatch is a colour that actually appears in the image — not a muddy average — ordered by how much of the image it covers.

  4. 4

    Ready for code

    Every swatch shows HEX, RGB and HSL plus whether white or black text reads better on it. Export the set as CSS variables, a Tailwind v4 theme, SCSS or JSON.

Questions, answered

No. The image is read and analysed in your browser. Nothing is sent to a server.

Popular uses