Use this image color picker to sample an exact pixel from a photo, screenshot, or graphic. Select a point on the preview, then copy its HEX or RGB value for design, development, or brand matching.
Image color picker covers matching a brand color, identifying colors in screenshots, and building a palette from photography. Its controls stay on one page, with status and validation messages beside the work area.
Compatible files are processed in your browser and are not sent to a PWRKIT processing server. If the input contains sensitive information, follow your organization’s rules for online utilities.
Before using the result, confirm that an image and a point selected on its preview is complete and that hEX and RGB values for the sampled color matches the destination format. Keep the original until you have checked the output in the application or context where it will be used.
The related image tools cover the next common tasks without changing your original input.
- 01
Provide an image and a point selected on its preview. The tool checks the input before processing it.
- 02
Adjust the available image color picker settings for the result you need.
- 03
Run Image color picker. If the input is incomplete, the workbench explains what to correct.
- 04
Check hEX and RGB values for the sampled color, then copy or download the result. Your original input stays unchanged.
- matching a brand color
- identifying colors in screenshots
- building a palette from photography
How do I pick a color from an image?
Upload an image and select the point you want to inspect. The tool reads that pixel and displays its HEX and RGB values for copying.
Is the image uploaded to a server?
No. The image is decoded and sampled in your browser. It is not sent to a PWRKIT processing server.
Why can neighboring pixels have different colors?
Edges, antialiasing, JPEG compression, texture, gradients, and browser resampling can change adjacent pixels. Select a point inside a broad, uniform area when you need a representative color.
Does the picker return HSL, alpha, Pantone, or CMYK values?
No. It reports the selected pixel as six-digit HEX and RGB. It does not identify opacity, HSL coordinates, print inks, color names, or design tokens.
What should I check after using Image color picker?
Confirm that hEX and RGB values for the sampled color matches the intended format and context. Keep the original until the result has been verified.
Image color picker reads one pixel from the displayed canvas and returns its red, green, and blue channel values. It also formats those channels as a six-digit HEX color. This is useful when a screenshot, photograph, or exported design contains a color you need to reproduce in CSS or another editor. The result describes the selected pixel after the browser has decoded and drawn the image. It does not identify a paint name, Pantone reference, print ink, or original design token.
Choose a point inside a broad area when you want a stable representative color. A click on an edge can sample an antialiased blend rather than either adjacent color. Photographs contain sensor noise, texture, compression blocks, and lighting variation, so neighboring pixels may produce different values. For a background estimate, click several nearby points and compare the readings. The workbench updates the swatch, HEX value, and RGB value after each click. Either text value can be copied directly from its button.
When a selected image opens, the browser reports its natural width and height. For the picker, PWRKIT draws that image into a dedicated canvas. Images wider than 900 pixels are scaled down so the canvas width is 900 pixels; smaller images keep their natural width. Height changes by the same ratio. The visible canvas can then be scaled again by responsive page layout, but click coordinates are translated back into the canvas coordinate system before a pixel is read.
This preview rule makes large images easier to display and sample without constructing a full-resolution canvas. It also means the sampled pixel belongs to the reduced canvas for images wider than 900 pixels. Browser resampling may blend source pixels when it creates that preview. A reading from a large photograph can therefore differ from a pixel inspected at original resolution in a desktop editor. For exact forensic pixel work, use software that exposes the source pixel grid without resampling. For matching a visible web color, the browser-rendered sample is often the relevant value.
RGB expresses the selected color as three integers from 0 to 255. The first number is red, the second green, and the third blue. The same channels appear in HEX as three two-digit hexadecimal pairs. For example, rgb(34, 139, 230) becomes #228BE6. PWRKIT uses uppercase letters in the HEX output, but CSS treats uppercase and lowercase HEX digits the same. The swatch beside the values provides a quick visual confirmation that the selected point is plausible.
The tool reports only the red, green, and blue channels. It does not display an alpha value, HSL coordinates, LAB values, or a color profile. If the source has transparent pixels, the canvas reading can be influenced by how the decoded image is drawn and by transparent channel data. Do not infer opacity from the shown HEX value. When transferring the color into CSS, add opacity separately if the design requires it. When transferring it to print work, expect a color-managed design application to perform an RGB-to-CMYK conversion.
Suppose a screenshot contains a button whose fill must be recreated in a prototype. Upload the screenshot, then click well inside the button, away from the label, rounded edge, shadow, and hover outline. Copy the HEX reading and apply it to the prototype. Compare the prototype and screenshot on the same display. If they do not match, sample two or three more interior points. JPEG screenshots and scaled captures can vary across the fill even when the original interface used one flat CSS value.
A browser screenshot may also include color changes from display profiles, capture tools, transparency, or compositing. The picker reports the pixels stored in the uploaded image, not the original CSS declaration. That distinction explains why an expected brand value can return a nearby number. If you control the source website, browser developer tools are a better way to retrieve the declared style. Use image sampling when the declaration is unavailable or when you specifically need the color that appears in the raster image.
A photograph rarely has one definitive color. Start with the visual role you need: background, accent, text, border, or illustration tone. Sample a midtone region for a background candidate, then choose a brighter or darker point for contrast. Record each HEX value outside the workbench because the interface displays the most recent sample only. Avoid tiny highlights and deep noise-filled shadows unless those extremes are intentional parts of the palette.
After collecting candidates, test them as a group rather than judging each swatch alone. Two colors taken from the same photo can still have poor text contrast. The picker does not calculate contrast ratios or determine accessibility. Use a contrast checker with the proposed foreground and background values. Also compare the palette in light and dark interface states if both are supported. Sampling supplies coordinates for design work; it does not decide how those colors should be assigned.
The file control accepts image files and describes JPEG, PNG, and WebP as the main formats. The current browser must be able to decode the selected bytes. PWRKIT rejects an input larger than 30 MB. A damaged image, an unsupported codec, or a file with a misleading extension may produce a decode error. Opening the file in another trusted viewer is a useful first check. Exporting a fresh PNG or JPEG can repair a source that contains unsupported encoding details.
All sampling occurs in the page. The source is not uploaded to a PWRKIT processing server. The workbench creates a temporary local URL for the preview and releases it when the file is replaced, reset, or the component is removed. Browser privacy does not remove the need to follow workplace policy. If a screenshot contains credentials, personal messages, customer data, or confidential designs, confirm that local browser tools are permitted on that device before selecting it.
If the value changes with every click, the source area is not uniform or the image has been scaled and smoothed. Enlarge the browser view and click near the center of the intended region. If a thin line is difficult to hit, crop that part into a separate image before sampling. If every result appears darker or lighter than expected, compare the uploaded file in another browser and check whether the source depends on color-management behavior. PWRKIT does not expose or convert embedded ICC profile information.
If the preview cannot be prepared, reload the page and try a standard PNG, JPEG, or WebP no larger than 30 MB. The initial output is #000000 until a successful click selects a pixel, so do not copy that default unless black is actually the target. Clipboard permission can also fail. If clicking the HEX or RGB value does not copy, select the visible text manually or allow clipboard access for the site. The sampling result remains visible even when clipboard writing is blocked.
Image color picker does not create a modified download. It reads the preview and reports a color. Crop image is useful when the area of interest is small or hard to target. Resize image changes output dimensions but can introduce resampling, so sample the original when the original pixel values matter. Blur image blends neighboring colors and will change readings. Compress image and lossy JPG or WebP conversion can shift pixels near edges and detailed textures. Pick colors before those operations if you need values from the source.
Convert to PNG can produce a convenient common file for other software, but conversion cannot recover colors or detail that were already lost. Remove image metadata re-encodes an image for sharing and is unrelated to reading its visible colors. A practical design workflow is to preserve the source, sample and record the needed colors, check contrast in a dedicated tool, then edit copies for delivery. This order keeps color decisions tied to the chosen source while leaving later format and size changes independent.
Color readings also depend on which rendered version you sample. A social platform screenshot may already include scaling and compression, while the designer's exported source may preserve a flat fill. Name the source beside each recorded value so teammates know whether #228BE6 came from an original asset, a browser capture, or a compressed post. That context prevents a sampled approximation from silently replacing an approved brand token.
For a gradient, sample the exact location used by the layout and record that position along with the value. One HEX code cannot describe the complete gradient. For a textured photograph, collect several candidates and state their intended roles. A palette documented as background, accent, and border is easier to review than a loose set of colors without placement rules.
The canvas reads integer channel values from the sampled pixel. It does not average an area or smooth several clicks into one answer. When you need an average color for an entire region, export the relevant crop and use an analysis tool built for region statistics. Repeated manual clicks can show variation, but they do not calculate a reproducible mean.
Sampling cannot identify the semantic owner of a color. A blue pixel may belong to a button, a shadow, a photograph, or a transparency blend. Inspect the surrounding image and record the component or subject with the value. If a design system already defines named tokens, compare the sample with those tokens instead of creating a new nearly identical color from one rasterized point.
Related tools
- Code to Image
Apply chosen colors to a syntax-highlighted PNG or SVG code image.
- Crop image
Isolate a small region before sampling a difficult point.
- Resize image
Change image dimensions after recording colors from the source.
- Convert to PNG
Create a browser-readable PNG copy for another image workflow.