Grab the exact color from any image
A color picker, sometimes called an eyedropper, lets you sample the precise color of a single pixel in an image. Instead of guessing at a shade or trying to match it by eye, you point at the exact spot you want and Pixohub tells you its value down to the individual red, green, and blue channel. That is invaluable when you are rebuilding a brand color from a logo, matching a button to a screenshot, or sampling a tone from a photograph to use in a design.
Pixohub decodes your image onto an HTML canvas in the browser and reads the raw pixel data directly. As you move your cursor across the picture, the tool continuously reports the color beneath the pointer so you can hunt for exactly the right shade. When you click, the value is locked so you can read it carefully and copy it without worrying about the cursor drifting. Everything runs locally, which means it is fast, private, and works even on a slow or offline connection once the page has loaded.
Because the tool reads the image's own pixels at full resolution, the color you get is not blended from a scaled preview. One caveat: the browser converts images to sRGB when it decodes them, so for a photo saved with a wider profile such as Display P3 (common on recent iPhones) you get the sRGB-converted value, not the number stored in the file. For ordinary sRGB images, screenshots and web graphics, the two are the same. For designers and developers this accuracy matters: a HEX code that is even slightly off can make a UI element look subtly wrong next to the original artwork.
How to use Color Picker from Image, step by step
- Load the picture you want to sample with Drop an image or Choose a file. It is shown scaled to fit the page.
- Move the pointer over the picture: Hovered color shows the hex and RGB value under it as you move.
- Click to save that colour. It is added to the top of Picked colors, which keeps every colour you click.
- Press Copy HEX next to a saved colour to put its hex code on the clipboard. The RGB value is shown underneath for reading or typing.
- On a large photo, one screen pixel covers several image pixels, so click a few times around the same spot and compare. Choose a flat area rather than an edge.
- Clear list empties the saved colours; New image starts over with another picture.
Real example: checking picked colours against the file
On our 800 × 600 test graphic, shown 480 pixels wide, clicking the yellow sun gave #fde68a, exactly the value stored in the PNG. A cyan pixel that is slightly transparent read 2 levels off in red, and a fully transparent corner read as #000000, black, because transparency is not shown.
On a 4588 × 3347 iPhone 14 Pro photo of 1 Old Road in Chatham, Kent, one screen pixel covered about 9.6 image pixels, so each click landed on one pixel within a small area. The values matched the photo after conversion from its Display P3 colour profile to sRGB, not the raw numbers stored in the file.
| Point clicked | Picker showed | Value in file |
|---|---|---|
| Sun (opaque) | #fde68a | 253, 230, 138 (#fde68a) |
| Cyan glow, 90% opaque | rgb(35, 210, 237) | 33, 210, 237 |
| Transparent corner | #000000 | Fully transparent |
Last updated
Color Picker from Image compared with other ways to do it
Digital Color Meter and PowerToys
macOS includes Digital Color Meter, and Microsoft PowerToys adds a Color Picker shortcut on Windows; both read any pixel on your screen, in any app, without saving a file first. For colours on a web page or in another program, they are faster. This tool is for picking from an image file and keeping a list of several colours.
Photoshop and GIMP eyedroppers
Desktop eyedroppers can average a 3 × 3 or larger area, which gives a steadier value on noisy photos, and you can zoom in to pick one exact pixel. This picker reads a single pixel of the image under the pointer, without zoom. On a large photo, sample a flat area or crop first.
Upload-based colour pickers
Some online pickers send the image to a server before you can sample it, which is a needless trip for a screenshot of private work. Here the image is drawn and read in your browser, so the values reflect how your browser displays it, including colour-profile conversion.
HEX vs RGB: what the codes mean
Colors on screens are made by mixing red, green, and blue light. RGB notation writes each channel as a number from 0 to 255, so pure red is rgb(255, 0, 0) and white is rgb(255, 255, 255). It is easy to read and easy to tweak a single channel, which is why RGB is common in code, canvas work, and image editors.
HEX notation encodes the same three channels as a six-digit hexadecimal string preceded by a hash, such as #FF0000 for red. Each pair of digits represents one channel from 00 to FF (which is 255 in decimal). HEX is compact and is the format you will most often paste into CSS, HTML, and design tools like Figma. The two notations are interchangeable — #FF8800 and rgb(255, 136, 0) describe exactly the same orange — so Pixohub gives you both and lets you copy whichever your workflow expects.
If you need transparency, RGB extends to RGBA with a fourth alpha value, and HEX extends to an eight-digit form. For picking a solid color from an image, the standard six-digit HEX and three-channel RGB values shown here are all you need to reproduce the shade anywhere.