Image Color Picker
Use our free Image Color Picker to pick a color from an image and copy its HEX, RGB, or HSL code. Open a photo, logo, or screenshot, select a pixel, and collect colors in a small palette. Your image stays in your browser, with no account or installation needed.
How to pick a color from an image
Find a color code from an image on your computer, tablet, or phone. Start with the clearest original file available.
Choose your image
Click Choose image or drop a JPEG, PNG, or still WebP into the upload area. The preview fits the available space while keeping the complete picture visible.
Select a pixel
Click or tap the area you want to inspect. Drag to adjust your selection and use the magnified view to see nearby pixels. On a keyboard, focus the image, move with the arrow keys, and press Enter to save a color.
Copy the color code
Click HEX, RGB, or HSL to copy that value. Select more areas to build a palette, or choose a previous swatch to view its codes again. Copy palette copies the saved HEX codes on separate lines.
Understand HEX, RGB, and HSL color codes
The format you need depends on where you plan to use the color. These examples describe the same muted green in three common formats.
#6C816EHEX color from image
HEX uses six characters to describe red, green, and blue. It is a convenient choice for website styles, presentation themes, and design apps. Copy the complete value, including the #, when your editor expects a HEX code.
rgb(108, 129, 110)RGB color from image
RGB expresses the same color as three channel values from 0 to 255. Use this format when an app asks for red, green, and blue separately, or paste the complete rgb() value into a CSS color property.
hsl(126, 9%, 46%)HSL color from image
HSL describes hue, saturation, and lightness. It can make a sampled color easier to understand when planning lighter backgrounds or less saturated accents in another editor. The picker reports rounded HSL values, so small rounding differences are possible.
Build a color palette from an image
A photo can provide useful starting colors for a website, social post, or presentation. Pick a background, a darker text color, and an accent from the same image to compare them together. The palette keeps up to 12 unique picked colors, with your newest selection first.
You choose each color yourself; this is not an automatic dominant-color extractor. Selecting an existing color moves it to the front instead of adding a duplicate. When the palette is full, the oldest color is replaced. Changing the image starts a fresh palette, so copy any codes you want to keep first.
Get accurate colors from a photo
The picker samples an original image pixel, even when the preview is displayed smaller. A photo contains many nearby shades, so where you click matters.
Sample inside a solid area
Avoid the edge of lettering or a small object when you want its main fill color. Smooth edges, shadows, reflections, and JPEG compression can change individual pixels. Inspect several nearby points rather than assuming one sample describes the whole object.
Use the original picture
A screenshot or compressed copy may differ from the original artwork. The codes describe the browser-decoded image in sRGB, not a guaranteed print, paint, or Pantone match. Lighting and camera processing also affect the colors recorded in photographs.
Check transparent backgrounds
Transparent pixels are read against white, matching the preview in both light and dark mode. A partially transparent color is blended with white before its code is shown; a fully transparent pixel returns white. Opacity values are not included.
Pick colors locally in your browser
The tool reads your selected image on your device without uploading it. Sampling does not edit or overwrite the original file. The image and palette stay in this page session; refreshing or leaving the page clears them. Copy the codes before closing the page.
Supported files and image limits
Open one JPEG, PNG, or still WebP at a time, up to 30 MB and 16 megapixels. Neither side can exceed 16,384 pixels. Animated files, GIF, HEIC, TIFF, and RAW are not supported. If a file is too large, choose a smaller copy.
Need to prepare the picture first? Use Image Rotator for a sideways photo or Image Flipper to mirror it. To hide visible details before sharing, open the Image Blur Tool.