画像 Color 抽出
「画像 Color 抽出」は画像とデザインに使えるブラウザツールです。入力内容と結果は通常この端末内で処理され、登録は必要ありません。
使い方
使い方
- Choose one JPEG, PNG, or WebP image up to 20 MB and 40 megapixels.
- Set the number of colors, then inspect the ranked palette and visible-pixel percentages.
- Copy the palette values or individual HEX colors for your design work.
A small, explainable quantization pass
The page scales the decoded image to a maximum 256-pixel longest side, then rounds each RGB channel to 32 levels. The resulting 32 × 32 × 32 histogram is sorted by visible pixel count. Each displayed color is the midpoint of its bucket, so it is a representative swatch rather than an exact source pixel.
Transparency is handled explicitly
Pixels with alpha below 128 are excluded from the palette. Semi-transparent pixels at or above that threshold are counted as visible, and the page reports the approximate transparent share separately. JPEG has no alpha channel; PNG and WebP transparency stays in the browser.
Boundaries and privacy
Input is limited to JPEG, PNG, or WebP files up to 20 MB and 40 megapixels. Up to eight colors can be shown. The image is decoded into this tab, never sent to a server, and is discarded when you choose another file or leave the page. Metadata is not read or retained.
よくある質問
あわせて知りたいこと
How are the colors calculated?
The browser samples a scaled canvas and quantizes each RGB channel to 32 levels. It counts the resulting color buckets and ranks them by visible pixel count. This is a fast histogram-based palette, not perceptual clustering.
Why do the percentages not always add up to 100%?
Percentages describe each selected bucket among visible pixels. Colors outside the displayed top results are intentionally omitted, so their remaining share is shown as other colors.
Does transparency affect the result?
Yes. Pixels with alpha below 128 are skipped and the approximate transparent share is reported. Semi-transparent pixels at or above 128 count as visible.
Is my image uploaded?
No. Decoding, sampling, extraction, and copying happen locally in your browser. The file is not uploaded.