Guide · File Tools / Image Tools
About Extract Colors from Image
Sample pixels from an uploaded image to extract its dominant color palette with HEX, RGB, HSL, approximate share percentages, and CSS variables.
When to use this tool
Great for pulling brand palettes from logos, mood-board photography, or product shots when designing matching UI themes.
How to use Extract Colors from Image
- Drop a PNG, JPG, or WebP image (up to 25 MB).
- Choose how many palette colors to extract.
- Click any swatch to copy its HEX/HSL code or copy the generated :root CSS custom properties.
Supported inputs, options, and outputs
- Inputs: PNG, JPG, JPEG, WebP up to 25 MB.
- Outputs: Quantized color swatches with HEX, RGB, HSL, coverage percentage, and CSS variables.
Accuracy notes and limitations
- Palette quantization groups nearby shades into representative buckets, so subtle gradients collapse into their dominant tones.
Privacy and browser processing
Files and inputs are processed inside your browser tab via Web APIs without uploading document bytes or pasted text to IJM servers. Hosted deployments load cookie-free page-view analytics and Google Fonts.
Read the full IJM Privacy Policy or browse all File Tools.