Tool Hub

調色盤擷取

以 k-means 分群從圖片中擷取主要色彩

上傳圖片以 k-means 分群擷取主要色彩。圖片在用戶端取樣至 5,000 個像素後分成 k 組;以群組大小排序顯示各群中心的十六進位/RGB 色碼。

使用方法

  1. Upload any image file using the file button or drag it onto the tool。
  2. Wait for the k-means algorithm to extract up to 8 dominant colors from the image。
  3. Review the palette swatches alongside their hex codes and relative coverage。
  4. Click any hex code to copy it to the clipboard。
  5. All processing runs entirely in your browser — nothing is stored or sent anywhere。

範例

  • Uploading a sunset photo extracts approximately 8 shades ranging from deep orange (#c94a1b) to soft pink (#f2b89a)。
  • Uploading a brand logo with flat colors returns the exact brand colors as hex values ready to paste into a design tool。

生產環境使用前請驗證輸出。無擔保 — 參見 條款.