Dominant Color Extractor
Your workspaceProcessed on your device
A few things to know.
Up to 25 MB, 24 megapixels and 12,000 pixels per side. The analysis clusters a browser-decoded sRGB sample within 256 × 256 pixels. Fully transparent samples are excluded. Partial alpha is composited on the selected backdrop.
- Open a still JPG, PNG or WebP, or load the RGBA example.
- Set the maximum cluster count and sampling backdrop, then extract the colors.
- Compare visible sample counts and black or white text contrast. Download a developer snippet or JSON.