HEX, RGB and palette heatmap in browser.
Input
PNG, JPG or WEBP up to 10 MB.
HEX, RGB and palette heatmap in browser.
PNG, JPG or WEBP up to 10 MB.
Tool guide
Feed it any raster image the browser can open — JPG, PNG, WebP or a pasted screenshot — and get back swatches with ready HEX and RGB codes, ordered by how much of the picture each shade covers. Everything is decoded on a canvas inside your own tab, so the file never leaves the device. It solves the everyday case where a client sends one flattened JPEG of a logo and no brand guide, and you still have to name the exact colors for CSS variables, or where a mood board has to become a working palette. See also: fine-tune a sampled shade by hand, test palette pairs for readability, write the sampled RGB values as HEX.
Load the file with «Change image» and press «Analyze». The tool paints the image onto a hidden canvas, reads the pixels and clusters them. Every swatch in the «Palette» block carries a HEX and an RGB value you can paste straight into CSS. No desktop editor and no browser extension involved.
Three to six is right for a brand palette: you end up with a background, a primary and an accent. The default of 8 suits UI references, where you also want border and shadow midtones. The upper range towards 777 only pays off on photographs with smooth gradients, otherwise you get a long list of nearly identical shades.
No. The file is read through FileReader and decoded on a canvas in the tab itself, and no network request carries the picture. That makes it safe for NDA mockups and internal screenshots. The trade-off is that very large photos are limited by your own device's memory and CPU.
Nothing is hard-coded; the tab's memory is the real limit. Phone photos of 12–24 megapixels are fine, while 100-megapixel panoramas or scans can freeze the page for a few seconds on a modest laptop. If analysis drags on, resize the image to around 1500–2000 pixels wide first.
Two reasons. JPEG is lossy, so pixels that look like one color are numerically different. And the algorithm merges nearby shades into a cluster and reports an averaged value. When you need one exact pixel rather than an area average, use an eyedropper tool instead.
Yes, PNGs with an alpha channel open fine, but transparent regions are still pixels and may enter the sample as black or white. If an unexpected dark swatch shows up, crop the transparent margins or place the logo on the background you actually intend to use.
Yes — the page runs in mobile Safari and Chrome, and «Change image» opens the camera-or-gallery chooser. Keep in mind that a camera shot is much heavier than a mockup, so a 777-color analysis takes noticeably longer on a phone than on a desktop.
Before: logo-final-v3.jpg, 1200×1200, raster only
After: #FA551E, #101014, #F5F2EC — three swatches with the slider at 3
Before: Screenshot of a UI with a gradient background
After: 8 shades from #0B1E3A to #6FC3DF: background, cards, button accent
Your rating and feedback help decide what to improve next.