PNG colour palette extractor

Match paper, backgrounds and companion artwork to your PNG. Extract a practical palette, inspect its colour shares and save HEX values.

PNG colour palette extractor: annotated studio reference
Illustrative reference. Your result uses the values or files you enter below.
No file selected

Static PNG only. Up to 25 MB and 32 million pixels; processed locally.

Ready when you are. Enter your settings, then run the tool to see your result.

Extract HEX colours from PNG artwork

  1. Choose the PNG you want to coordinate with paper, text or other artwork.
  2. Enter 2–12 colours. The result may contain fewer groups if the visible image has only a few distinct colours.
  3. Extract the palette, compare the approximate visible-area shares, and select HEX text to copy it or download the CSV.

Worked examples

Reference examples for this tool
Palette sizeUseful starting pointWhat to check
2–3 coloursSimple background and accent pairingSmall accents may merge into larger groups
4–6 coloursA working reference for a craft projectSeparate dominant colours from text colours
8–12 coloursMore variation in detailed artworkSimilar tones may have close HEX values

A botanical PNG may yield a dominant sage green, a dark stem colour and a warm cream highlight. Try a pale dominant colour behind the artwork and a darker accent for a heading, then check text readability separately. Palette share measures sampled visible colour; it does not tell you which colour is best for text.

Questions about this tool

Why does a transparent background not become a palette colour?

Fully transparent pixels carry no visible colour contribution. The tool skips them, while partly transparent pixels contribute according to opacity. A white backdrop painted into the image is visible and can appear in the palette.

Why do I get fewer colours than requested?

The tool samples the image at up to 256 × 256 pixels, groups nearby RGB colours and merges similar dominant groups. The requested number is a maximum, not a promise of that many visually distinct colours.

Can I use a HEX value to order matching print ink?

HEX is an RGB screen-colour reference, not a spot-ink, paint or fabric specification. Printing and materials can differ. Use a physical sample and the production provider’s colour workflow for a material match.

Method and production notes

How the palette is selected

The image is sampled at up to 256 × 256 pixels. Visible pixels are grouped into RGB colour buckets, then similar dominant colours are merged. Transparent pixels are ignored and partly transparent pixels contribute in proportion to opacity. Colour shares describe the sampled visible area, not print ink coverage.

Use the palette in a project

Copy the HEX values into your design app or download the CSV for reference. Start with a dominant colour for backgrounds and a contrasting accent for text. Browser RGB values do not specify CMYK ink or guarantee a physical material match.

Put the result to work

Artwork reference for 7 DIY Christmas Card Ideas Using PNG Clipart

7 DIY Christmas Card Ideas Using PNG Clipart

Easy homemade Christmas card ideas with printable clipart – storybook shopfronts, cats and dogs delivering gifts, layered scenes, card sizes, paper and printing tips.

2 min read