Useful Hacks

Image Colour Palette

Extract a colour palette from an image — 5 to 20 dominant colours with HEX and RGB.

Processed entirely in your browser. Your image is never uploaded to a server.
  • 5 / 8 / 12 / 20 colour palettes.
  • Each swatch shows HEX, RGB, HSL and its share of the image.
  • Copy one colour, all HEX values, or a ready-made CSS :root block.
  • Runs in your browser.

Overview

Pulls the dominant colours out of an image with a median-cut algorithm. Choose 5, 8, 12 or 20 colours; copy each as HEX, copy the whole palette, or copy it as CSS custom properties.

How to use it

  1. 1Add an image.
  2. 2Pick how many colours you want.
  3. 3Copy individual swatches or the whole palette.

Frequently asked questions

Related guides

Related tools

All image tools

Ready to use Image Colour Palette?

Image Colour Palette

Search tools

Search for any tool by name, category or keyword