Color Picker from Image

Hover over any pixel. See the HEX, RGB and HSL instantly. Copy it. Done.

No uploadClick any pixelHex + RGB + HSL
🎨

Drop your image here

Then click anywhere on the image to pick a color.

How to pick a color from an image

1

Drop your image

Drag in any JPG, PNG or WebP. It loads in your browser — nothing is uploaded.

2

Hover over it

Move your cursor over the image. The color under your cursor is shown in real time.

3

Click to lock

Click any pixel to select that color and copy it to the clipboard.

4

Copy the code

Pick your format: HEX, RGB or HSL. Copy and paste wherever you need it.

HEX vs RGB vs HSL: which format do you need?

HEX is the format you need for most web work. It is what you paste into CSS, design tools like Figma, and most color input fields. Short, compact, widely supported.

RGB is useful when you need to work with individual channel values — adjusting brightness, mixing colors programmatically, or using colors in canvas or WebGL code. Also the format most design applications use internally.

HSL is the most human-readable format. Hue (the color), Saturation (how vivid), Lightness (how dark or light). If you want to create color variations — lighter shades, darker shades, more muted versions — HSL is the easiest format to adjust by hand.

Also useful

Convert ImageCompress ImageAdd Text

FAQ

What color formats does it show?+
HEX (#ff5733), RGB (rgb(255, 87, 51)) and HSL (hsl(11, 100%, 60%)). All three are shown for each color you pick.
Can I sample multiple colors?+
Yes. Click to save colors to a palette. You can build up a set of colors from the same image and copy them all.
Is the color sampling accurate?+
Yes — pixel-perfect using the Canvas API. The value shown is the exact color of the pixel under your cursor.
Does it work on screenshots?+
Yes. Any image format works. Screenshots, photos, graphics, diagrams — whatever you can drop onto the tool.
Can I export the color palette?+
Yes. You can export sampled colors as a CSS snippet (--color-name: #hex) or as plain text.