Neatbo.

Extract image colors

Pick out the main colors in an image.

Browser-local processingInputImageOutputPaletteUp to 20 MiB per file · File limit: 1
  1. 1Add input
  2. 2Adjust settings
  3. 3Get your result

Tool input and files are processed in this browser without being uploaded.

Your input

Inputs are kept temporarily in this tab when switching tools. Refreshing or closing clears them; large results may need to be regenerated.

⌘ / Ctrl + Enter to run

or drag and drop it here

Files stay on this device. Your originals stay unchanged.

.png · .jpg · .jpeg · .webp

Up to 20 MiB per file · File limit: 1

    Options

    Complete the required options first. You can keep the defaults for the rest.

    Preparing the tool…

    Before you start

    Estimate dominant colors from up to 16,384 sampled pixels using weighted RGB clustering. Review color swatches, approximate sample shares and copyable HEX values. Small bright accents may be missed.

    How to use this tool

    1. Choose one saved static JPEG, PNG or WebP image. The original stays on your device.
    2. Choose 2–12 colors and whether to ignore pixels with alpha below 128. Select “Extract colors”.
    3. Review swatches and approximate shares, then copy the HEX list or download palette.txt.

    Supported inputs and limits

    Static JPEG, PNG or WebP only; up to 20 MiB and 16 million pixels for one image. No animation or SVG.

    Worked example

    Example input

    pixels.png
    Example options
    {
      "colors": 2
    }

    Example output

    #fe0001
    #0000ff

    When something does not work

    Choose a valid static JPEG, PNG or WebP image within the size and pixel limits. If a small accent color is absent, try a tighter crop around that area; the algorithm does not guarantee accent selection.

    Frequently asked questions

    Are my files uploaded?

    No. Files and tool input are processed in your browser. Moving around the site can keep a temporary workspace in the same tab. Refreshing or closing the tab clears it, so download results you want to keep.

    What should I check in this result?

    The colors and percentages are estimates from a downsampled image, not exact source pixel counts. Tiny bright details can be missed; compare the swatches with the original before using them. The TXT download contains the HEX list.

    Documentation & further reading

    Related tools