Color Picker — Extract Colors from Any Image
Upload an image → get dominant color palette in HEX, RGB or HSL → export to CSS or JSON
Drop any photo, screenshot, logo or design asset below. The tool extracts up to 8 dominant colors using the Median Cut algorithm — the same technique used by design tools and OS color systems. Click directly on the image to pick any single pixel. Switch between HEX, RGB and HSL output with one click. Export the full palette as CSS custom properties or a JSON array for your project.
Your Files Never Leave Your Browser
Conversions run locally in your browser using the Canvas API, with Web Workers used when supported. Your image data stays on your device and is never uploaded to any server.
We use Google Analytics and Google AdSense for aggregated traffic stats and contextual ads when consent allows it. Theme and language preferences stay in your browser. We never see, read, or store the images you convert.
Browser-based conversion has trade-offs: large files (>50 MB) may hit memory limits; animated GIF output flattens to a single frame; EXIF metadata is stripped; ICC color profiles may differ across browsers.
> how_to_extract_colors
- Upload your imageDrag and drop any PNG, JPG, WebP or SVG into the tool. Photos, product images, brand screenshots, UI designs and logos all work well. The image is displayed in an interactive preview canvas — nothing is uploaded.
- Extract the dominant paletteClick "Extract Colors". The Median Cut algorithm analyzes the image pixel data (on a 150×150 downsample for speed) and returns up to 8 dominant colors sorted by frequency. Click any swatch to copy its value instantly. Use the format toggle to switch between HEX, RGB and HSL.
- Pick pixels or exportClick directly on the image preview to pick any exact pixel color — useful for brand color extraction or matching a specific shade. Export the full palette as CSS custom properties (ready to paste into :root) or as a JSON array for JavaScript use.