Tiny image intelligence for the browser

Extract colors from real images.

Get a dominant color and palette from images, canvases, blobs, URLs, or image elements with callback and Promise APIs.

Sample landscape used to demonstrate palette extraction

Modern input support

Use image elements, canvas, ImageBitmap, URL strings, Blob, or File objects.

Callback or Promise

Keep existing callback code or use the async API in modern application flows.

Photo-ready palettes

Choose exact RGB counting, fast buckets, or median-cut quantization for balanced palettes.

Interactive demo

Drop an image and inspect its color.

The uploader runs locally in your browser and shows the detected dominant color for each image.