Updated · Built and checked by the PlinzoTools team, formulas tested against published sources
Click any pixel of an uploaded image and copy its exact HEX, RGB and HSL color code.
Upload an image to sample colors and extract a palette, or use the eyedropper to pick a color from anywhere on your screen.
Need to match a color from a photo, screenshot, or design file exactly? This tool lets you click any pixel in an uploaded image and instantly reads that exact pixel's color, showing it in HEX, RGB, and HSL formats -- all three of the ways colors are commonly specified in design and code.
Upload an image, then click anywhere on it. The exact color at that pixel appears immediately in HEX (#RRGGBB), RGB (red/green/blue values), and HSL (hue/saturation/lightness) formats, each with a copy button.
The image is drawn onto an HTML canvas, and the Canvas API's pixel-data reading function returns the exact red, green, blue, and alpha values at your clicked coordinate. Those RGB values are then mathematically converted into HEX (a base-16 representation) and HSL (a hue/saturation/lightness representation) for the other two common formats.
Designers matching a brand color exactly from a reference photo or existing design asset. Developers grabbing a precise color value from a mockup to use in CSS. Anyone who needs the exact color code of something they can see in an image but don't have the original design file for.
The color read depends on your image file's actual pixel data -- heavy JPEG compression can slightly shift colors from the true original due to compression artifacts, so for color-critical work, use an uncompressed or lightly-compressed source image where possible.
The value you get is only as trustworthy as the pixel you click. Photographs rarely contain a single flat color: a blue wall in a photo is really thousands of slightly different blues caused by lighting, sensor noise, and compression. Clicking two neighboring pixels in the same wall can return two noticeably different codes. If you want the color that best represents an area, click several spots in that area and compare the results, then choose the one that sits in the middle of the range.
Suppose you click a teal button in a screenshot and the tool reports rgb(0, 128, 128). To read this as HEX, convert each channel to base 16: 0 becomes 00, 128 becomes 80, and 128 becomes 80, giving #008080. In HSL the same color has a hue of 180 degrees (the middle of the cyan range), 100 percent saturation, and about 25 percent lightness. Now imagine you want a lighter hover state for that button. Working in HSL you can keep the hue at 180 and saturation at 100 percent and simply raise the lightness, for example to 35 percent, which is much easier than guessing which RGB numbers to change.
Screens differ. The tool reads the numeric value stored in the file, not how your particular monitor happens to display it, so the same code may look slightly different on another device. Images that embed a color profile other than standard sRGB can also render differently between programs, which means a picked value may not match what a color-managed design application shows. Finally, if the image has transparent areas, a clicked transparent pixel may report a color that does not reflect what appears on a colored page behind it. For print work, note that these are screen color values; converting to print inks needs separate color management with your printer or design software.
They're three different ways of expressing the same color: HEX is a compact base-16 code common in web design (#FF5733), RGB gives separate red/green/blue intensity values, and HSL describes color by hue (the color itself), saturation (intensity), and lightness -- useful for adjusting a color while keeping its basic hue.
No -- the image is processed entirely in your browser using the Canvas API; it's never uploaded anywhere.
Photos contain noise and compression variation, so nearby pixels that look identical to the eye often differ by a few values per channel. Sample several points and pick a representative one.
Only if the image is a clean, uncompressed copy. A resized or heavily compressed logo can drift slightly, so for exact brand work, check the company's published brand guidelines.
You can click it, but transparent areas do not have a meaningful visible color. Click a fully opaque pixel to get a reliable value.