How to extract colors from an image
-
1
Drop an image
Upload any photo, logo or UI screenshot.
-
2
Choose palette size
Pick 5, 6, 8 or 10 dominant colors.
-
3
Pick exact pixels
Click anywhere on the image preview to sample a specific pixel color.
-
4
Copy HEX or CSS
Click any swatch to copy its HEX code or click Copy CSS for :root variables.
Frequently asked questions
How are the dominant colors calculated? +
The tool runs fast k-means color clustering on your image directly inside an HTML5 Canvas.
Related tools
AI Background Remover
Remove image backgrounds automatically with AI in your browser. Export transparent PNG, solid colors or blurred backdrop.
Image Compressor (Bulk & Target KB)
Compress JPG, PNG & WebP images in bulk or shrink to an exact KB size (like under 100 KB) right in your browser.
Image Resizer & Cropper
Resize, crop, rotate and flip photos to exact pixels or presets (BD Govt Job 300×300, Signature 300×80, YouTube, Instagram).
Image Format Converter (PNG, JPG, WebP, AVIF, ICO)
Convert images in bulk between WebP, PNG, JPG, AVIF and ICO favicons with zero server upload.
Image to Text OCR (Bangla & English)
Extract editable Bangla (বাংলা) and English text from any photo, scan or screenshot privately inside your browser.
Passport, NID & BD Job Photo Maker
Create Bangladesh Passport (45×55mm), Govt Job 300×300px, NID and Visa photos with optional AI background change & 4×6 print sheet.