English

Color Picker from Image: Get HEX, RGB and HSL

Click any pixel of an image, or anywhere on your screen, to get its HEX, RGB and HSL color code.

Pick a color to see its codes.

Works in Chrome and Edge on computers. You can pick colors from any website or app on your screen.

Picked colors
Your picked colors appear here.

How to pick a color from an image

  1. Add an image

    Upload a photo, logo or screenshot, or paste one with Ctrl+V.

  2. Click the color you want

    A magnifier shows each pixel up close so you hit the exact shade.

  3. Copy the code

    Click HEX, RGB, HSL or CMYK to copy it. Your picks are saved in a list.

Color picker from image for exact color codes

This free color picker from image reads the exact color of any pixel. You love the blue in a photo, want to match your brand color from a logo, or need the exact shade of a button on a website. Guessing color codes never gets it quite right. This color picker reads the exact color of any pixel and gives you the codes designers and developers use: HEX, RGB, HSL and CMYK.

Color picker from image: free online tool by ToolsGif

It also finds the main colors of the image automatically, giving you a ready palette to use in designs, presentations, social posts and websites.

Pick colors from anywhere on your screen

In Chrome and Edge on a computer, press "Pick a color from the screen" and your cursor becomes an eyedropper. Click any color on any website, app or video on your screen and its code appears here instantly. In other browsers, take a screenshot and paste it with Ctrl+V.

Which color code should I use?

Format Example Used in
HEX #2F5D8C Websites, CSS, Canva, Figma, most design apps
RGB rgb(47, 93, 140) Screens, CSS, Photoshop, PowerPoint
HSL hsl(210, 50%, 37%) CSS; easy to make lighter or darker shades
CMYK cmyk(66%, 34%, 0%, 45%) Printing: business cards, flyers, packaging

CMYK values here are a direct conversion. For professional printing, confirm colors with your print shop, as paper and ink change how colors look.

Build a palette with the color picker from an image

Every image you add is analysed for its main colors, which appear as a row of swatches under the picture. It is a quick way to build a color scheme from a holiday photo, match an Instagram grid to a mood, or pick website colors that go with your product photos. Click a swatch to see all its codes.

Who uses a color picker from an image?

  • Designers matching brand colors from logos and mockups.
  • Developers getting exact CSS values from screenshots.
  • Social media creators keeping a consistent look across posts.
  • Online sellers describing product colors accurately.
  • Home decorators and artists finding paint and fabric colors from photos.

Color picker from image: tips for accuracy

  • Use the magnifier. Photos contain many slightly different pixels; zooming in helps you pick the true shade.
  • Use original files. Compressed images and screenshots can shift colors slightly.
  • Pick from flat areas. Edges blend two colors; the middle of an area is more accurate.

Creating a brand color palette

A consistent palette makes a brand recognisable. Start from your logo or a favourite photo, note the main colors, then choose one primary color, one or two supporting colors and a neutral for backgrounds and text. Save the HEX codes and use them everywhere: website, social posts, presentations and printed material.

Readable color combinations

When you use picked colors for text and backgrounds, make sure there is enough contrast. Dark text on light backgrounds, or white text on dark colors, is easiest to read. Very light text on white or similar shades side by side can be hard to read, especially on phones outdoors.

From photo to paint, fabric and print

Found the perfect color in a photo for a wall, a dress or an invitation? Pick it here and take the HEX or RGB code to a paint shop, tailor or printer. Many paint brands and print shops can match a color from its code. Keep in mind that screens, paint and paper show colors slightly differently, so ask for a sample before ordering in quantity.

Did you know?

A HEX color code is just three numbers written in base 16: two digits each for red, green and blue, from 00 to FF. That gives 256 levels per channel and over 16.7 million possible colors, more than the human eye can tell apart on most screens.

Private and free

Your image is analysed in your browser and never uploaded. Pick as many colors as you like, free and without signing in.

Need something else after using this color picker from image? Try our free color grading, image to text or image size checker. For background reading, see color pickers on Wikipedia.

Related tools

Questions

How do I get the HEX code of a color in an image?

Add the image and click the color. The HEX code appears; click it to copy.

Can I pick a color from a website?

Yes. In Chrome or Edge on a computer, use "Pick a color from the screen". In other browsers, paste a screenshot.

What is the difference between HEX and RGB?

They describe the same color in different notations. HEX is shorter and common in web design; RGB lists red, green and blue values.

Can I get a color palette from a photo?

Yes. The main colors of each image are shown automatically under the picture.

Is CMYK accurate for printing?

It is a standard conversion. Check with your printer for exact print colors.

How many colors can I pick?

As many as you like. The last 16 picks stay in the list while the page is open.

Can I pick colors from a video?

Pause the video, take a screenshot and paste it here, or use the screen picker in Chrome or Edge.

Does the color picker work on phones?

Yes. Tap the image to pick a color. Picking from the whole screen needs Chrome or Edge on a computer.

Are my images uploaded?

No. Everything happens on your device.