Image Color Picker: Get HEX, RGB and HSL Colors from Any Image

Upload an image, click any point and get that color as HEX, RGB and HSL, ready to copy. The tool also finds the main colors of the picture and shows them as a palette with their share of the image. On supported browsers you can even pick a color from anywhere on your screen.

Related Tools

HEX, RGB & HSL Color Converter Image to Base64 Converter QR Code Generator Aspect Ratio Calculator All Utilities

What an image color picker does

A color picker, also called an eyedropper, reads the color of a single pixel in an image. Designers use it to match a brand color from a logo, developers use it to copy a color into CSS, and photographers and artists use it to build palettes from a scene they like. Instead of guessing a color by eye, you get exact numbers.

This tool loads your image into your browser, so the file is never uploaded. Click anywhere on the picture to read the color under the cursor. The palette feature groups similar colors together and lists the most common ones, which is a quick way to find the main colors of a photo or a design.

How to pick a color from an image

  1. Drop an image onto the box or click to choose a file.
  2. Click the point you want. The color appears as HEX, RGB and HSL, with a preview swatch.
  3. Press Copy HEX, Copy RGB or Copy HSL to copy the value.
  4. Look at the main colors list to see the palette of the whole image, and click a swatch to load it.
  5. Your recent picks are kept in a row of swatches, so you can compare them.

Picking a color from your screen

Chrome, Edge and other Chromium-based browsers include an EyeDropper feature that lets a web page read a color from anywhere on your screen, even outside the browser window. If your browser supports it, a button appears below the image. Press it, move the magnifier over any color and click. If the button does not appear, your browser does not support the feature, but you can still pick colors from uploaded images.

HEX, RGB and HSL

  • HEX is a six-digit code such as #2563eb, used in web design and CSS.
  • RGB gives the red, green and blue amounts from 0 to 255, as in rgb(37, 99, 235).
  • HSL describes hue, saturation and lightness, which is easier to adjust by hand.
  • Use the Color Converter tool to switch between formats and to check contrast for accessibility.

Getting accurate colors

  • JPEG images are compressed, so the color of a single pixel can be slightly different from the original. Click a few nearby points or use the palette for a more stable value.
  • Colors in a photo depend on lighting and the camera, so they may not match a physical object.
  • Screenshots show colors as your display renders them, and different screens and color profiles can change how they look.
  • For brand colors, use a logo file or a style guide where possible, and use the picker to check.

Color formats

Format Example
HEX #2563eb
RGB rgb(37, 99, 235)
HSL hsl(221, 83%, 53%)

Frequently Asked Questions

How do I get the color code from an image?

Upload the image, click the spot you want and copy the HEX, RGB or HSL value.

How does the palette work?

It groups similar pixels and lists the most common colors, with their share of the image.

Can I pick a color from my screen?

On Chrome, Edge and other browsers with the EyeDropper feature, yes.

Why is the color slightly different from what I expected?

Compression, lighting and screen calibration can change colors a little.

Which image types are supported?

Any image your browser can display, including JPG, PNG, WebP and GIF.

Is my image uploaded?

No. It is read in your browser and stays on your device.

How do I convert the color to another format?

Use the Color Converter tool, which converts between HEX, RGB and HSL.