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.
Arraste imagens aqui ou clique para enviar
Suporta 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
Mais Ferramentas de Imagem
Explore outras ferramentas poderosas para suas necessidades de edição de imagem
Comprimir Imagem
Reduzir tamanho
Redimensionar
Alterar dimensões
Recortar Imagem
Cortar área
Converter Formato
Mudar formato
Editor de Fotos
Editar fotos
Girar Imagem
Girar imagem
Virar Imagem
Horizontal/Vertical
Adicionar Marca d'Água
Marca d'água
Adicionar Borda
Adicionar borda de imagem
Cantos Arredondados
Adicionar cantos arredondados
Filtros
Brilho/Contraste
Desfocar Rosto
Ocultar rostos
Mosaico
Desfocar regiões
Remover Fundo
Remover fundo
Melhorar Imagem
IA upscale
Adicionar Texto
Adicionar texto a imagem
Colagem
Combinar múltiplas imagens
HTML para Imagem
Web para imagem
GIF para Sequência
Extrair frames
Remover bordas vazias
Remover bordas vazias
Renomear imagens em lote
Renomeie arquivos em lote com segurança
Recorte Circular
Recortar imagens em círculo
Preto e Branco
Converter imagens em tons de cinza
Dividir Imagem
Cortar uma imagem em grade
Mesclar Imagens
Combinar imagens em uma só
Alterar DPI
Definir metadados de DPI da imagem
Imagem para Base64
Codificar imagens como Base64
Imagem para PDF
Combine imagens em um PDF
HEIC para JPG
Converta fotos HEIC do iPhone para JPG
Remover EXIF
Visualize e remova metadados ocultos de fotos, incluindo localização GPS
Gerador de Favicon
Conjunto completo de ícones mais HTML
Paleta de Cores
Extraia cores de uma imagem
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