Image Color Palette & Hex Picker
Upload or paste any image to extract a balanced dominant color palette and sample exact pixel colors using a precision magnifier loupe. Copy HEX, RGB, HSL codes and export complete CSS variable palettes in one click.
Upload a photo to automatically extract the 6 dominant colors. Hover with the magnifying loupe and click anywhere on the image to inspect and pick exact pixel color codes.
Drop any photo to extract color palette & pick HEX codes
Supports JPG, PNG, WebP, AVIF, TIFF & HEIC. Zero cloud uploads.
100% Private in Browser: All color sampling and palette quantization occurs in your local GPU/RAM via Canvas 2D. Your creative artwork and brand assets are never transmitted online.
Zero Server Uploads
Files process in local RAM
Instant WASM Speed
No waiting queues or lags
Unlimited Batching
Convert files without limits
How to Use Image Color Palette & Hex Picker (Step-by-Step)
- 1Upload any photograph, illustration, or UI screenshot.
- 2Review the automatically extracted 6-color dominant palette.
- 3Click anywhere on the photo with the magnifier loupe to pick custom colors.
- 4Click any swatch to copy HEX/RGB codes, or click Copy CSS Variables for design work.
Fast Dominant Color Extraction via K-Means Quantization
Our engine analyzes pixel frequency distributions across a downsampled color space to isolate the most visually representative hues. Redundant shades are filtered out to give you a clean, harmonious 6-swatch palette suitable for brand identities, web design, and UI themes.
Precision EyeDropper Loupe Lens
Need a specific pixel shade from a logo or complex artwork? Our interactive magnifier loupe shows a real-time pixel grid with live HEX and RGB values, making precise single-pixel color selection effortless.
Format Comparison Guide
Compare format differences, strengths, and optimal use cases.
Click to collapse
Format Comparison Guide
Compare format differences, strengths, and optimal use cases.
| Color Format | Syntax Example | Recommended Use Case |
|---|---|---|
| HEX | #3B82F6 | Web design, HTML/CSS styles, Figma & digital graphics |
| RGB | rgb(59, 130, 246) | CSS styling, Canvas 2D manipulation & software UI |
| HSL | hsl(217, 91%, 60%) | Color harmony generation, CSS tints, shades & gradients |
| CSS Variables | --color-primary: #3B82F6; | Tailwind CSS themes & web design systems |
Color sampling and K-means quantization run locally on your device via HTML5 Canvas with zero cloud transmission.
Input & output compatibility
Accepts
- JPG, PNG, WebP, AVIF, TIFF & HEIC photos up to 40 MB
Produces
- Interactive 6-color dominant palette
- Instant 1-click clipboard copy
- JSON config & CSS variables export
Frequently Asked Questions
Can I export the extracted palette directly to CSS or Tailwind?
Yes. Click 'Copy CSS Variables' to copy standard `:root { --color-1: #...; }` syntax ready to paste into your CSS or Tailwind stylesheet.
Are my images uploaded to a server?
No. Every conversion runs locally in your browser using your device's own processor. Your images never leave your computer or phone, and nothing is stored on our servers.
Is it free, and are there limits?
It's completely free with no account required. Because processing happens on your device, there's no per-file upload limit — the practical ceiling is your device's available memory. You can batch many files and download them as a single ZIP.
Explore More Free Browser Tools
View All 290+ Tools Directory →All tools run client-side in your browser with zero data uploads, no sign-up, and zero tracking. Discover other popular converters and calculators:
Suggest a Feature or Improvement for Image Color Palette & Hex Picker
Need custom options, higher limits, or extra format support? Let our engineering team know!