DGNbox
Esta página también está en español. Abrir en español English ✓

How to find the HEX color code of any image

Updated 08.11.2026 · 2 min read

Need the exact blue of a logo, or a color that matches a photo? Guessing never works. A color picker reads the real value from the image pixel you click.

Open the Image Color Picker →

How to get a color code from an image

  1. Open the Color Picker and drop an image, or paste a screenshot with Ctrl+V (Cmd+V on Mac).
  2. Click the exact spot you want. The HEX code is copied to your clipboard right away.
  3. Read the RGB and HSL values next to it if your program needs those.
  4. Use the "Main colors" palette to grab the image's dominant colors with one click each.

HEX, RGB and HSL explained

  • HEX (#4F6BFF): six characters for red, green and blue. Used in CSS, WordPress, Canva, Figma and most design tools.
  • RGB (79, 107, 255): the same color as three numbers from 0 to 255. Common in Photoshop, Office and code.
  • HSL (hue, saturation, lightness): handy when you want a lighter or darker version of the same color — just change the last number.

Tips for accurate colors

  • Zoom in on logos and pick from the middle of a solid area, not the edge, where colors blend.
  • Photos contain many shades of "one" color. Use the palette to get the overall tone instead of a single pixel.
  • JPG compression can shift colors slightly. If you have a PNG or SVG of the logo, use that.

Frequently asked questions

Can I pick a color from my screen?

Take a screenshot (Print Screen on Windows, Cmd+Shift+4 on Mac), open the Color Picker and press Ctrl+V or Cmd+V.

Is my image uploaded?

No. The image is read in your browser and never sent anywhere.

Image Color Picker — Pick colors from an image and copy HEX/RGB codes.

Open the Image Color Picker →

More guides