Image Color Picker
Extract dominant color palettes from any image, or use the eyedropper to pick exact pixel colors.
Drop an image or click to browse
PNG, JPG, WebP, GIF, BMP, SVG
Dominant Colors
Upload an image to extract colors
Extract color palettes from images: palette extraction and pixel-perfect eyedropper in one tool
Identifying the colors in an image is a foundational task for designers, developers, and brand teams. Whether you're reverse-engineering a brand palette from a screenshot, pulling accent colors from a photograph for a UI, or checking what exact hex codes a logo uses, having the colors as copyable values is essential. This tool eliminates the round-trip to Photoshop or Figma just to sample a color.
The Palette Extract mode uses a pixel-sampling and quantization algorithm running entirely in your browser via the HTML5 Canvas API. It identifies the most statistically dominant distinct colors in the image and presents them as a sortable palette with HEX, RGB, and HSL values. The Eyedropper mode overlays a crosshair on your image so you can point at any pixel and get its exact color code: useful for precise extraction where the automated palette might merge similar shades.
How to extract colors from an image
- 1Upload your image
Drop any PNG, JPG, WebP, GIF, or BMP image onto the upload area, or click to browse. The image is processed locally: nothing is uploaded. - 2Choose a mode
Use Palette Extract to automatically find the N most dominant colors in the image. Switch to Eyedropper to hover over the image and click to pick specific pixel colors manually. - 3Adjust the color count (palette mode)
Select how many dominant colors to extract: from 5 to 20. The algorithm samples pixels, quantizes them into buckets, and returns the most frequent distinct colors. - 4Choose a copy format
Select whether clicking a color copies its HEX, RGB, or HSL value. Use Copy All to copy every color in the palette as a newline-separated list. - 5Use the colors in your project
Paste the copied values into your CSS, design tool (Figma, Sketch), or code editor. The color strip at the bottom gives you a quick visual preview of the full palette.
Related Tools
Remove Background
Erase image backgrounds instantly using smart edge-detection flood fill. Outputs PNG with full transparency.
Format Converter
Convert images between JPEG, PNG, WebP, and AVIF. Batch-convert multiple files and download as ZIP.
Resize Image
Resize to exact dimensions or by percentage. Lock aspect ratio, choose resampling quality.
Compress Image
Reduce file size with a quality slider. See before/after sizes and compression ratio in real time.
Frequently Asked Questions
- How does the palette extraction algorithm work?
- The tool draws your image onto an HTML5 Canvas, reads every Nth pixel (sampling for performance), rounds each RGB value to the nearest bucket (quantization), then counts the most frequent buckets. Similar colors that are too close to each other in RGB space are merged so the palette shows genuinely distinct hues rather than subtle duplicates.
- Is my image uploaded to any server?
- No. All processing uses the HTML5 Canvas API and runs entirely in your browser. Your image never leaves your device.
- What is the eyedropper mode?
- Eyedropper mode lets you hover over any point on the uploaded image and see the exact RGB/hex color of the pixel under your cursor in real time. Click anywhere to add that color to your picked list.
- What formats can I copy colors in?
- HEX (#rrggbb), RGB (rgb(r, g, b)), and HSL (hsl(h, s%, l%)). Select your preferred format using the Copy As toggle and every click will copy in that format.
- Why does the palette not perfectly match every color in my image?
- Palette extraction finds the most statistically dominant colors after quantization and deduplication. Very similar shades are merged into one representative color. For exact colors at specific points, use Eyedropper mode instead.
- Can I extract more than 20 colors?
- The current maximum is 20. For most design and branding use cases, 8-12 dominant colors is the practical limit: beyond that, colors become increasingly similar and less useful as a palette.
- What image formats are supported?
- Any format the browser can render natively: PNG, JPEG, WebP, GIF, BMP, and SVG. AVIF and HEIC are supported if the browser supports them.
- Can I use this to extract brand colors from a logo?
- Yes. Upload the logo as a PNG (with transparent background for best results). The palette extractor skips transparent pixels, so it will return only the actual colors used in the logo artwork.
- How accurate is the HEX code from the eyedropper?
- The eyedropper reads the exact pixel data from the Canvas after the image has been drawn at the display scale. It is as accurate as the browser's canvas rendering, which is typically exact for non-JPG sources. JPEG compression introduces minor color artifacts, so the picked color may differ very slightly from the original image file.
AlteredIdea vs alternatives
vs Photoshop / Figma eyedropper: No license or install needed. Works on any image from any browser in seconds.
vs server-side palette tools: Your image never leaves your device: fully private, no upload required.
vs browser extensions: No install, no permissions to grant. Works on locally uploaded images, not just web pages.