Color Picker from Image - Get the HEX Code of Any Pixel
Upload an image, point at any pixel, and read its exact HEX, RGB and HSL values. A pixel-grid magnifier shows what is under the crosshair, arrow keys nudge the sample one pixel at a time, and nothing leaves your browser.
画像をここにドロップまたはクリックしてアップロード
JPG、PNG、GIF、WEBP、SVGをサポート
What This Color Picker Does
This is an eyedropper, not a palette generator: you decide which pixel is sampled, and the tool reports exactly what is stored there. The part worth explaining is how a reading is taken, because the obvious approach is subtly wrong. Drawing the whole image onto one canvas and reading pixels back from it fails on large photos - browsers cap total canvas area at roughly 16.7 million pixels, about 4096 by 4096, and a 24-megapixel camera file exceeds that easily. Scaling the image down to fit would make every sample an average of several original pixels, so the one thing an eyedropper must get right would be the first thing lost. Instead, sampling redraws only a small window around the pointer, straight from the decoded file, at exactly 1 to 1. Source rectangle and destination rectangle are the same size, so the browser copies pixels rather than resampling them, and the values you get are the file's own bytes no matter how large the image is. The preview you see may be scaled to fit the canvas limit or your screen, but nothing is ever sampled from it. That same window feeds the magnifier, which paints each source pixel as a 13-pixel square with grid lines between them and outlines the centre cell in black and white so it stays visible over any color. You need it: a 4000-pixel-wide photo laid out in a 720-pixel column puts roughly 5.6 image pixels under every screen pixel. Arrow keys move the sample exactly one source pixel and Shift plus an arrow moves ten, which is the only reliable way to land on a one-pixel border or a thin antialiased edge. Each pick reports HEX, RGB and HSL from the same 8-bit triple, plus 8-digit HEXA and RGBA when the pixel is not fully opaque. The real limit to know is color management: canvas discards the embedded ICC profile in most browsers, so values match what the browser paints rather than what a color-managed editor shows.
Why Pick a Single Color from an Image
Most color questions are about one specific spot, not about an image as a whole. Someone hands you a screenshot of a signed-off design and you need the exact button fill to reproduce it in CSS. A client sends a JPG of their logo and you need the brand red before you can build anything around it. You are matching a chart series to the header color in a slide deck. You are checking whether two swatches that look identical in a photo really are the same value, or whether one is two steps darker. In all of those, an automatic palette is the wrong answer - it would return the six colors that cover the most area, and the color you actually need might be a 40-pixel accent that no clustering algorithm would ever surface. Being able to point at the pixel is the whole job. It is also the fastest route when the source file is gone. Design systems drift, source files get lost, and a flattened PNG export is often the only surviving record of what a color was. Reading it back takes a second and needs no design software installed. The same applies to work that never involved a designer: a photographer sampling a skin tone before grading, a developer copying a background color out of a bug report screenshot, a teacher pulling colors out of a painting for a worksheet. Because everything runs locally, unreleased mockups and internal screenshots never leave your machine.
How to Get a Color from an Image
Four steps, and no account or install. Files are read directly by the page - nothing is uploaded to a server.
Drop an image on the upload area, choose a file, or paste one straight from the clipboard. JPG, PNG, WebP, GIF and SVG all work.
Move the pointer over the image. The magnifier shows the pixel grid around the crosshair and the panel updates live. On a touch screen, press and drag - the magnifier sits above your finger so it is never hidden.
Fine-tune with the arrow keys or the on-screen arrows: one press moves the sample exactly one source pixel. Switch to actual size if the image is being scaled down to fit the column.
Click, tap or press Enter to keep the color, then copy its HEX, RGB or HSL value. Kept colors stay in the recent list so you can copy any of them again.
Frequently Asked Questions
その他の画像ツール
画像編集のニーズに応える他の強力なツールをご覧ください
画像圧縮
サイズ縮小
サイズ変更
寸法変更
画像切り抜き
領域を切り取る
形式変換
形式を変更
フォトエディター
写真を編集
画像回転
画像を回転
画像反転
水平/垂直反転
透かしを追加
透かし
枠線追加
画像枠線を追加
角丸
角丸を追加
フィルター
明るさ/コントラスト
顔をぼかす
顔を隠す
モザイク
領域をぼかす
背景削除
背景を削除
画質向上
AI拡大
テキスト追加
画像にテキストを追加
コラージュ
複数の画像を結合
HTMLから画像
Webを画像に
GIF からシーケンス
フレーム抽出
画像の余白を削除
空白の縁を削除
画像を一括リネーム
ファイル名を安全に一括変更
円形切り抜き
画像を円形に切り抜き
白黒
画像をグレースケールに変換
画像分割
画像をグリッドに分割
画像結合
画像を1つに結合
DPI変更
画像のDPIメタデータを設定
画像→Base64
画像をBase64にエンコード
画像をPDFに結合
複数の画像を1つのPDFにまとめる
HEIC→JPG
iPhoneのHEIC写真をJPGに変換
EXIF除去ツール
GPS位置情報を含む写真の隠しメタデータを表示・除去
ファビコン ジェネレーター
完全なアイコンセットとHTML
カラーパレット
画像から色を抽出
Base64 to Image
Decode Base64 back to an image
HEIC to PNG
Convert iPhone HEIC photos to lossless PNG
Text Behind Image
Put text behind the subject of a photo, entirely in your browser
Signature Maker
Draw a signature and download it as a transparent PNG
Signature Background Remover
Ink from paper, on transparency
Transparent Background Maker
Make a background transparent