Skip to main content
PicKit

Colour tool

Extract a Colour Palette From an Image

Find the main colours of a photo, logo or design. PicKit groups similar pixels and shows the 2 to 12 most common colours with their HEX, RGB and HSL values and how much of the image each covers. The image never leaves your device.

Choose an image to extract its colours

JPG, PNG, WebP, AVIF, BMP, TIFF, ICO, GIF, JXL, HEIC, SVG, QOI & PNM · up to 50 MB · stays on your device

How to get the colours of an image

  1. Choose an image above. Any format PicKit can open works, including HEIC, AVIF and SVG.
  2. Pick how many colours you want (2–12). The palette updates straight away.
  3. Copy a single HEX value, copy the whole palette as CSS variables or a HEX list, or download it as JSON.

How the palette is calculated

  • PicKit uses the median-cut method: it repeatedly splits the image’s colours into groups and averages each group, then merges groups that look almost the same.
  • The percentage is the share of visible pixels in each group. Fully transparent pixels are ignored, so a logo on a transparent background gives the logo’s colours.
  • Large images are measured on a reduced copy (up to 1024 px on the longer side), which keeps it fast without changing the main colours.
  • For the exact colour of one pixel, use the Color Picker in the photo editor.