Dominant Color
Upload an image to extract its dominant color and inspect RGB, HSL, Lab, and other color formats.
Image
Up to 32 MB and 4K. Choose an image or drop one below.
Color result
Inspect the color formats or view the complete JSON response.
Choose an image, then extract its dominant color.
Interactive walkthrough
Watch four pixels become one color.
Move through the same bins, weighted means, K-Means passes, and family vote used by the Rust color kernel.
Step 1 of 8
the starting picture · 4 pixels
P1α 255
purple
207, 173, 255
P2α 255
light purple
223, 201, 255
P3α 255
cyan
135, 222, 235
P4α 255
peach
255, 189, 139
Implementation notes
The analysis kernel is shared Rust code compiled into the Cloudflare Worker as WASM. Transparent pixels are ignored, and the winning color is selected from a quantized, alpha-weighted pixel histogram.