PNG Palette Inspector

Analyze the color palette of any image. View color count, distribution, swatches sorted by frequency, and transparency analysis.

Input
Drop an image here or click to browseSupports: PNG, JPG, WEBP, GIF, BMP
Results
Analysis Results
🛡️Zero server logs. Palette analysis runs 100% inside your browser via Web Workers. Your files never leave this tab.

PNG Palette Inspector

PNG Palette Inspector analyzes an image's color palette to reveal unique colors, frequency distribution, and transparency information. All processing is done locally via Web Workers.

🔒 Client-side only⚡ Web Worker processing🌐 Works offline🛡️ Zero server logs

How to Inspect Image Palettes

  1. Upload any image by dragging and dropping or clicking to browse.
  2. Click Analyze Palette to extract the color information.
  3. Browse the color swatches sorted by frequency, view stats, and transparency data.

Frequently Asked Questions

Questions about palette inspection? We have answers.

What information does this tool show?

It shows total pixel count, unique colors detected, the dominant (most frequent) color, a full palette sorted by frequency, and whether the image contains transparent pixels.

Are there limits on image size?

The tool internally samples pixels for performance. Very large images may take slightly longer but the analysis stays fully client-side.

Is this tool private?

Yes, absolutely. All palette analysis is performed locally via a Web Worker. Your images never leave your browser.


Automated E2E Test Suite Logs

Our build systems validate edge-case processing under extreme conditions before each deployment.

Stability
100.0%
Passed
11/11
Env
V8-Sandbox
Engine: Vitest RunnerUpdated: 2026/6/13 02:40:10📦 Download Test Datasets
PASSPure Function Unit Tests should handle valid image input
PASSPure Function Unit Tests should reject invalid input
PASSPure Function Unit Tests should not mutate original input
PASSPure Function Unit Tests should handle boundary input
PASSPngPaletteInspectorTool should render Input and Results labels
PASSPngPaletteInspectorTool should call analyze when button is clicked and imageInfo is set
PASSPngPaletteInspectorTool should disable button when isLoading is true
PASSPngPaletteInspectorTool should render privacy strip
PASSImage Worker — Extract Palette Action should return success for valid extract-palette action
PASSImage Worker — Extract Palette Action should return error for unknown action
PASSImage Worker — Extract Palette Action should return error for invalid payload
⏱️ 0.18ms📦 1.5KB🎚️ Max Nesting: 3🌿 AST Nodes: 48🛡️ V8 Heap: Healthy
$ codecaven-validator --scope=tool● CLUSTER COMPLIANT

Tool Changelog & Updates

v1.1.02026-06-11
  • Feature: Added comprehensive Vitest test suite covering Tool rendering, worker operations, and shared operation logic — all 871 image tests passing.
  • Fix: Fixed OffscreenCanvas mock patterns in tests for proper constructor instantiation.
v1.0.02026-06-11
  • Feature: Initial release with image color palette analysis — unique color count, frequency distribution, dominant color detection, and transparency analysis — 100% client-side via Web Worker.
  • UX: Drag-and-drop upload with color swatch palette sorted by frequency and visual distribution bars.
  • UX: Detailed color stats including hex values, pixel counts, and percentage for each palette entry.
  • Security: Web Worker isolation ensures zero data uploads — all palette extraction stays in the browser.