Penguino browser tool

Extract colours from an image

Choose a photo or design, find its dominant colours and download the extracted palette as CSS.

Free browser-based tool

Extract image colours from photos and designs

Start with a photo, screenshot or design and extract its dominant colours as a four, six or eight-colour palette. This image colour extractor helps you identify colours that already appear in a JPG, PNG or WebP image, then reuse their HEX values in a project.

Your image is analysed locally. Penguino groups similar pixels, shows the strongest distinct HEX colours and lets you copy a swatch or download the extracted palette as CSS.

Find the dominant colours in a photo or design

A smaller four-colour set is useful for a focused visual direction, while six or eight colours capture more variety from detailed artwork. Extracted colours reflect dominant image pixels, so consider how they will work for text contrast, accessibility and interface states before using them as a complete brand system.

Use extracted HEX colours in CSS

The downloaded file defines each colour as a CSS custom property. Add it to a stylesheet or copy the values into design software, presentation themes and brand documentation. Clear numbered variables make the palette easy to rename around its eventual purpose.

Need a new colour scheme instead?

This image palette extractor finds colours that are already present in your photo or design. For fresh colour combinations, brand-colour harmonies, shades and contrast checking, open the separate palette generator.

How to use this tool

  1. Add a PNG, JPEG or WebP image that contains the colours you want to explore.
  2. Choose four, six or eight colours and review the generated swatches.
  3. Click a swatch to copy its HEX code or download the palette as a CSS file.

Frequently asked questions

How does Penguino choose colours from an image?

It samples image pixels, groups nearby RGB values and selects prominent colours that are visually distinct from one another.

Can I copy individual HEX values?

Yes. Select any displayed swatch to copy its HEX colour to the clipboard.

Does the downloaded palette work in a website stylesheet?

Yes. The CSS download contains custom properties inside a root selector, ready to paste into a stylesheet and rename if needed.

Can I create a new palette without an image?

Yes. Use Create colour palettes, Penguino’s separate palette generator. It creates new colour schemes with locking, shades, adjustments and contrast tools. Extract image colours starts with an existing image instead.