Skip to main content

Color Palette Extractor

v1.0.2

Extract the dominant colour palette from any uploaded image using Canvas pixel sampling.

Extracts the dominant colour palette from any uploaded image using Canvas pixel sampling and k-means clustering, useful for generating design tokens from photos or brand assets.

How to use
  • Upload an image and set the number of colours to extract (3–12).
  • The dominant colours are shown as swatches with HEX and RGB values.
  • Copy individual colours or export the full palette as a CSS custom-property block.

Click to upload an image