Microdeck.tools 100% In-Browser

Image Color Palette & Hex Extractor

New

Extract the dominant colours of an image with HEX and RGB codes and their share, and copy them as CSS variables.

100% In-Browser No Server Storage Instant Results
Choose an imageFiles stay on your device.

Colours are the average of groups of similar pixels, so they may not match a single pixel exactly. Share shows how much of the image each group covers. Transparent pixels are ignored.

Did this tool save you time? Help keep Microdeck free and maintained. Completely optional · From $3.

How It Works Under the Hood

Choose an image and set how many colours you want. Click a swatch to copy its HEX code, or copy all as CSS variables.

Step-by-Step Instructions

1

Choose the image.

2

Set the number of colours.

3

Copy a colour or the CSS.

Key Features & Performance

  • 2 to 12 colours
  • HEX and RGB
  • Share of the image
  • CSS variables

Methodology, Formulas & Technical Standards

Pixels are grouped by colour and each group is averaged.

Worked Examples & Edge Cases

A photo

Input
6 colours
Output
Top colour 31%

Limitations, Scope & Accuracy Notes

  • • Averages may not match one pixel.
  • • Transparent pixels are ignored.

Local Browser Processing & Privacy

Traditional web converters upload your documents, snippets, or media files to remote servers. Image Color Palette & Hex Extractor runs inside your browser tab:

Processed in This Tab

Your input text and files are processed locally without uploading payloads to a processing server.

No Tool Payload Logging

Microdeck does not log or store the files or inputs you paste into tool workspaces (normal static hosting/CDN requests still load page assets).

Tab Memory Lifecycle

Working outputs stay in your browser tab and are released when you reset the tool or close the tab.

Frequently Asked Questions

How are colours chosen?

Similar pixels are grouped and averaged.

Is anything uploaded?

No. Everything runs in your browser and your files stay on your device.

Explore Related Micro-Tools

Support Microdeck

Completely optional · From $3 · No account required

Choose an amount (USD):Selected:$5

Minimum support amount is $3 USD.

Completely optional · From $3 · Checkout opens on Gumroad.