Rates TodayNIFTY25,349.7-0.15%SENSEX82,436-0.12%Gold 24K ₹11,507.42/g up104.11Silver ₹134.46/g up1.67
InsightforGeeks

Color Picker from Image – Get HEX and RGB Colours from a Picture (Free)

Open a picture and move the pointer over it. A magnifier shows the pixels under the pointer and the colour value, and a click picks the colour in HEX, RGB, HSL, HSV, CMYK and OKLCH. The tool also finds the main colours of the whole picture as a palette with the share each covers, so you can build a colour scheme from a photo or a logo. It runs in your browser, so your picture is not uploaded.

Drop a picture here

JPG, PNG, WebP, GIF or BMP · up to 40 MB

Your files stay on your device. Nothing is uploaded.

How to use it

  1. Drop a picture on the box, or choose one.
  2. Move the pointer over the picture. The magnifier shows the exact pixel. On a touch screen, tap or drag.
  3. Click to pick the colour, then press any value to copy it.
  4. Use the palette below the picture for the main colours, and Copy all to take them as a list.

Frequently asked questions

Are my pictures uploaded?

No. Your pictures are opened and changed in your browser, on your own device, and are never sent to our server. Close the page and they are gone.

How do I get the colour code of a pixel in a picture?

Open the picture here, move the pointer to the spot and click. The HEX code, for example #3B82F6, and other formats appear on the right. Press a value to copy it.

Can I pick colours with the keyboard?

Yes. Click or tab to the picture, move the crosshair with the arrow keys (hold Shift to move 10 pixels at a time) and press Enter to pick.

How is the palette worked out?

The picture is reduced in size and its colours are grouped into the number you choose, with the most common groups first. Each swatch shows the average colour of its group and how much of the picture it covers. Transparent pixels are ignored.

Why is the colour slightly different in my design program?

This tool reads the colour values the browser shows. Design programs may apply a colour profile, and very large pictures are scaled to 2,400 pixels on the longest side before picking, which can blend neighbouring pixels at sharp edges. For flat colours the values match.

Can I convert the colour to another format?

The picked colour is shown in HEX, RGB, HSL, HSV, HWB, CMYK and OKLCH. To type in a colour and convert it, use the colour converter.

Related tools

These tools run entirely in your browser and are provided free, without warranty. Check important results before using them in production.