uuutil ← all tools

Color palette extractor

Drop or pick a local image (up to 10 MB) and read its dominant colors: choose 5 to 10 swatches, each showing hex and RGB with its own copy button, plus copy-all and the share of pixels it covers. Colors are computed with median-cut on a downscaled canvas entirely in your browser — the small preview is a local canvas and the image is never uploaded. Sort by prominence or around the hue wheel; transparent pixels are ignored and grayscale images are handled.

Privacy ledger

Data acquired None.
Libraries used Lit 3 — bundled into the tool file itself.
Data stored None. The image is decoded and analyzed in memory only and is never uploaded or stored.
Data transmitted None.

Use it on your own page

Download the tool as a single self-contained HTML file: readable source with the Lit library included, zero network requests — it works opened straight from your disk, and you can customize everything.

Prefer the hosted widget? One script tag embeds it and stays up to date:

<script type="module" src="https://uuutil.com/tools/color-palette.js"></script>
<uu-color-palette lang="en"></uu-color-palette>

Source license: MIT — free to use, modify and redistribute; keep the license notice in copies.