What Is a Color Picker?
A color picker is a visual tool for selecting and converting colors across multiple formats. Instead of guessing HEX codes or memorizing RGB values, you point at the colour in an image and copy its value as HEX, RGB or HSL.
This one picks colours from an image: upload a photo, screenshot or logo (or use a sample gradient), hover to see the exact pixel in a magnifier, and click to add it to a palette. It shows HEX, RGB and HSL, and copies the palette as CSS variables. Everything runs in your browser; the image is not uploaded anywhere.
Understanding Color Formats
HEX — the most common web format. Six hexadecimal digits representing red, green, and blue (#FF6B6B). Compact and widely supported. RGB — decimal values from 0-255 for each channel. Easier for programmatic manipulation. HSL — hue (0-360°), saturation (0-100%), lightness (0-100%). The most intuitive format for human color selection because you can adjust brightness and saturation without changing the base hue.
How to Use This Color Picker
- Upload an image — Drop an image on the page or choose one (any format your browser opens), or click a sample gradient.
- Hover to inspect — Move over the image; the magnifier shows the 9 × 9 pixels around the cursor and the values of the centre pixel.
- Click to save — Each click adds that pixel to the palette (up to 20 colours, no duplicates).
- Copy your colours — Click a value to copy it as HEX, RGB or HSL, or copy the whole palette as CSS variables.
Worked example: picking a brand colour from PNG vs JPEG
The tool reads one pixel at full resolution from the image you upload (no averaging), so what you get depends on the file. On October 12, 2026 we drew a #FF3366 banner with white "SALE" lettering, saved it as PNG and as JPEG at quality 90 and 75, and read every pixel the way this page does (canvas drawImage, then getImageData) in Chromium.
| File | Flat area away from the text | Red pixels in the lettering area | Distinct colours there |
|---|---|---|---|
| PNG | 100% exactly #FF3366 | 98% exact (the rest are anti-aliased letter edges) | 91 |
| JPEG quality 90 | 100% exact | 67% exact | 1,266 |
| JPEG quality 75 | 100% exact | 66% exact | 1,832 |
- Pick from the flattest area you can find. JPEG compresses in 8 × 8 blocks, and every block that touches an edge gets ringing: a third of the red pixels near the lettering came back as some other shade, up to ΔE 17 away. Away from detail the value was exact even at quality 75. Hover first and watch the 9 × 9 magnifier; if the neighbouring pixels differ, move further from edges.
- Screenshots of a web page are the most reliable source, because they are usually PNG and contain the colours as rendered. A logo pulled from a social-media JPEG is a guess within a few levels.
- Values are sRGB. The browser converts images with an embedded colour profile (for example Display P3 photos from recent iPhones) to sRGB when drawing them, so you get the sRGB equivalent, not the number stored in the file. For colours outside sRGB that is the nearest sRGB colour.
- Click adds the colour to a palette of up to 20. Copy one value as HEX, RGB or HSL (whole numbers), copy the palette as CSS variables or as a list, or try the sample gradients without uploading anything.
- Need a colour from outside an image? Chromium browsers support the EyeDropper API, which picks from anywhere on screen; this tool works only on images you upload.
Sources
Checked on .
Frequently Asked Questions
📖 Learn More
Related Article HTML Color Codes Explained →Built by Derek Giordano · Part of Ultimate Design Tools