Skip to main content

Color palette from image

Extract a colour palette from a local image in your browser. Colours are sampled on a canvas; the file never leaves the page.

Privacy: colours are sampled from a canvas in your browser. The image never leaves this page.

Extract a simple colour palette from an image on this device. The image is drawn to a canvas (shrunk to a 200-pixel-wide sample), colours are bucketed, and up to the number you choose (3–12) most frequent hex values are shown. This is a basic frequency sample, not a perceptual clustering algorithm. The file never leaves the page.

How to use

  1. Choose an image file (not a paste or URL).
  2. Set how many colours you want (3–12).
  3. Copy the hex list.

Methodology · Tools

How we check

Canvas sampling and paletteFromRgba bucket output were checked against the island and unit tests on 2026-11-11 (Asia/Colombo).

More free tools