mtools.lol

Color Extractor

Find the main colours of an image, with HEX, RGB and HSL codes.

How it works

  1. 1Choose an image.
  2. 2Pick how many colours you want.
  3. 3Click a colour to copy its code.

Features

  • 3 to 12 dominant colours with their share of the image.
  • HEX, RGB and HSL, one click to copy.
  • Export as CSS variables.
  • Private: runs in your browser.

Frequently asked questions

How are the colours found?

The image is scaled down and its pixels are grouped by similarity (k-means); each group's average is one colour.

Why don't I see a small accent colour?

Colours covering a tiny area can be merged into bigger groups. Ask for more colours.

Is my image uploaded?

No. Everything happens in your browser.