HEX from Image

Get the HEX code of a colour

  • Stays on your device
  • Original untouched
  • Free, no sign-up
  1. Choose a picture
  2. Click a colour
  3. Copy the HEX
Drop a picture or tapor click to choose, or paste

More in Images

Compress Image

JPG, PNG, WebP

Convert Image

HEIC, WebP, AVIF, SVG, PNG, JPG

Edit image

Crop, rotate, flip, resize

Remove Photo GPS & EXIF

Hide where and when it was taken

Image Color Picker

Pick colours and build a palette

Favicon Generator

favicon.ico, app icons and code

ID Photo Maker

Passport photo sheet to print

Blur & Hide

Blur, pixelate or black out

Add Watermark

Put your name or logo on photos
About this tool

Get the HEX code of any colour in a picture. Click a spot, then copy a code such as #FF8800 for your website, document or design. Your files never leave your device.

How to use

  1. Drop a picture, or click the box to choose one.
  2. Move over the picture to preview a colour. Click or tap to keep it.
  3. Use the arrow keys to move one pixel at a time.
  4. Click Copy next to HEX, RGB or HSL.

FAQ

Is my picture uploaded?
No. Your picture is read in your browser, and your files never leave your device.
What is a HEX code?
A short code that starts with # and has six letters or digits. It is the usual way to write a colour in websites and design apps.
Why can the colour differ slightly from the original?
Browsers and screens can adjust colours when they show a picture, and photo formats such as JPG blur tiny details. The values are very close, but double-check anything important.
Can I use it on my phone?
Yes. Touch the picture and drag. A magnifier appears above your finger, and lifting it keeps that colour.