How to Pick a Color from an Image or Screenshot | Itqan

Learn how to extract HEX and RGB from any image or screenshot with an online eyedropper — Itqan guide.

Seen a color you love on a website, or need the exact brand hex from a logo for a presentation? Guessing never looks professional. A color picker from image (also called an eyedropper) solves it in one click: upload the image, tap a pixel, and get HEX, RGB, and HSL values ready to copy. In this Itqan guide we explain how the tool works, when you need it, the difference between color formats, step-by-step usage, and common mistakes that ruin sampling accuracy — written by hand for platform users.

What is a color picker from image?

A color picker (or eyedropper) reads the color value at a specific point in a digital image. Every image is made of millions of pixels, and each pixel holds a precise color built from three channels: red, green, and blue. When you click a point, the tool reads those values and converts them into standard formats designers and developers use: HEX like #1A73E8, RGB like rgb(26, 115, 232), and HSL like hsl(214, 82%, 51%).

What sets Itqan’s tool apart from classic desktop eyedroppers is that it runs in the browser with no install and no upload to an external server. That makes it faster and more private — especially when you are working with unpublished designs or screenshots that contain internal information.

Why exact color codes matter

Human eyes are poor at estimating color. The “sky blue” you see may be one of hundreds of nearby shades, and a small difference becomes obvious when two versions sit side by side in one design. Exact codes matter in many everyday cases:

  • Brand identity: Brand colors must match everywhere — website, decks, print, and social. A slightly darker logo blue is noticed immediately.
  • Web development: When turning a design into CSS, you need the real button or background value, not a visual guess.
  • Continuing an old design: Inherited a final image with no color guide? Sample colors straight from the finished artwork.
  • Inspiration from real photos: A sunset or nature shot you love can become a coherent palette for a project.
  • Product matching: Selling products and want a page background that matches the product photo exactly.

How the tool works (simply)

When you upload an image, it is drawn onto a Canvas element in your browser — a built-in web technology that lets scripts read pixel data. As you move the pointer, the tool converts screen coordinates into the matching pixel on the original image at full resolution, then reads that pixel’s red, green, and blue values.

This detail matters: sampling uses the original image, not the smaller preview on screen. Why? When the browser shrinks an image for display, it blends neighboring pixels, so you can get a “mixed” color that never existed in the source design. Sampling from the source keeps the copied code true to the real color.

Everything runs locally on your device: no server round-trip, no file upload, no waiting for processing. That is why the tool feels equally snappy on a small photo or a 4K screenshot.

Practical scenarios — when the tool saves you

A color picker is not only for professional designers. These are everyday situations for students, employees, and small-business owners:

Matching a presentation to the company logo

You are building a PowerPoint deck and want headings to match your brand blue. Screenshot the logo, upload it, click the color, copy the HEX, and paste it into PowerPoint’s custom color field. The result looks consistent and polished.

Turning a design image into CSS

You received a page design as a PNG with no source file. Instead of messaging the designer for every color, sample buttons, backgrounds, and text one by one and store them as CSS variables. The “recent colors” list makes it easy to capture several colors from the same image without losing any.

Building a palette from an inspiring photo

A nature photo with harmonious tones can seed a whole project identity. Sample 4–6 colors from different areas: the lightest for backgrounds, the darkest for text, and one saturated accent for buttons and links. Then try them in the logo generator to see the harmony in practice.

Matching a product color in an online store

You are adding a product and want the “available color” badge to match the real product photo. Sample from the product image itself instead of picking from a generic palette — customers will see a match between badge and product.

Extracting a color from an app screenshot

Liked a button color in a mobile app? Take a screenshot, upload it, and use the loupe on the button. Note that some apps use subtle gradients — sample from the middle of the element, not the edges.

HEX, RGB, and HSL — which should you use?

The tool shows three formats at once. Each has a best use:

HEX — the most common

Six hexadecimal digits after #, such as #1A73E8. Each pair is one channel (red, green, blue). This is the default in CSS and most design tools like Figma, Canva, and Adobe. If you are unsure which format you need, copy HEX.

RGB — for separate channel values

Three values from 0 to 255, such as rgb(26, 115, 232). Useful when a programming language expects separate channels, or when you need transparency with rgba() by adding a fourth alpha value.

HSL — for logical color tweaks

Hue from 0 to 360, then saturation and lightness as percentages, such as hsl(214, 82%, 51%). The big win is deriving related shades easily: need a lighter background version? Raise lightness only and keep the same hue. That is the simplest way to build a full color system from one sample.

SituationBest format
Quick paste into CSS, Figma, or CanvaHEX
Adding transparencyRGB (as rgba)
Deriving lighter and darker shades of the same colorHSL
Sharing a color with your teamHEX — shortest and clearest

How to sample a color in Itqan — step by step

  1. Open the Color Picker from Image in your browser (desktop or mobile).
  2. Upload a JPG, PNG, or WebP by drag and drop, from your device, or from Google Drive and Dropbox.
  3. Move over the image — a circular zoom loupe shows nearby pixels, and the sidebar swatch updates live as you move.
  4. When the aim is right, click — HEX, RGB, and HSL appear in the sidebar.
  5. Copy the format you need with the button next to each field, or use the main “Copy HEX” button at the bottom of the sidebar.
  6. Sample more colors — they are saved under “Recent colors” and can be restored with one click.

To change the image, use the sidebar “Add more” buttons or the delete control next to the file name above the preview.

Why the zoom loupe matters

On screen, two neighboring colors may be only one pixel apart — smaller than the tip of your mouse pointer. Without magnification, clicking a button edge can sample the background instead of the button, or a gray anti-aliasing pixel between text and its background.

Itqan’s loupe magnifies the area around the pointer about ten times, with crosshairs that mark the exact pixel that will be sampled on click. The small square at the center is the “target” — make sure it sits inside the color area you want, not on the border, then click with confidence.

How to improve sampling accuracy

  • Use the highest available resolution: The original logo file beats a tiny recompressed copy.
  • Avoid heavily compressed JPGs: JPG compression adds color noise around edges; sample from the middle of a color area, not the borders.
  • PNG screenshots are more accurate: PNG stores colors without loss, while JPG may shift values slightly.
  • Watch for gradients: Many modern buttons use a subtle gradient — you may need both start and end colors.
  • Shadows and lighting in photos: A product in shade looks different from the same product in light; sample a mid, neutral area.
  • Your screen brightness does not change the values: Codes come from the file data itself, so display settings do not alter the sampled numbers — though they may change how you perceive the result.

Color picker vs other tools

GoalBest tool
Get the color code of a point in an imageColor Picker from Image
Design a logo with the sampled colorsLogo generator
Crop the color area before samplingImage crop
Change image size or format before useImage converter
Remove a product background after matching colorRemove image background
Read a QR code from the same screenshotQR reader from image

What to do with the code after copying

The copied color works almost everywhere:

  • CSS: Paste directly: color: #1A73E8; or background: rgb(26, 115, 232);.
  • Figma, Adobe XD, Photoshop: Open the color panel and paste HEX (some apps want it without the #).
  • PowerPoint and Word: Use “More Colors” then the “Custom” tab and enter the three RGB values.
  • Canva: Click the color square, then “+”, and paste the HEX code.
  • Itqan tools: Reuse the color in the إتقان or logo generator to produce matching designs fast.

Team tip: document approved colors in a shared file with all three formats and note where each is used (background, text, accent). That saves every new teammate from re-sampling images.

Common mistakes to avoid

  • Sampling from the edge of an element: Edges contain transitional anti-aliased pixels between two colors. Use the loupe and aim at the middle of the fill.
  • Relying on a heavily recompressed image: A photo that passed through WhatsApp or was compressed many times drifts from the original. Ask for the source file when accuracy is critical.
  • Building a full brand from one sample: One hero color is not enough — sample a background, a text color, and an accent, and check contrast between them.
  • Ignoring text-to-background contrast: A beautiful photo color may be unreadable as a text background. Practical rule: dark text on light, or the reverse — avoid two close shades.
  • Pasting the wrong format: Pasting RGB into a field that expects HEX fails silently in some apps. Match the format the target program asks for.
  • Forgetting sampled colors before saving them: “Recent colors” keeps only the last 8 in the current session — copy important codes into your project file before closing the page.

Practical tips

  • When building a palette, sample the most dominant color first, then use HSL to derive lighter and darker shades.
  • For tiny logos inside screenshots, crop the logo area first with the crop tool, then upload — zoom becomes easier.
  • Sample product photos under neutral lighting when the goal is real-world matching.
  • Use the main “Copy HEX” button at the bottom of the sidebar as a shortcut for the last sampled color.
  • On mobile, pinch-zoom the image before tapping if the target point is tiny.

Quick checklist before you lock a color

  • Did you sample from the middle of the color area, not the edge?
  • Is the source image high quality and not heavily recompressed?
  • Did you preview the color on both a light and a dark background?
  • Is contrast strong enough between chosen text and background colors?
  • Did you save the codes into your project’s color file?

FAQ

Does the tool work with screenshots?

Yes — PNG screenshots usually give the most accurate results because they store colors without loss.

Is my image uploaded to a server?

No. Pixel reading happens entirely in your browser, and the image never leaves your device.

Which image formats are supported?

JPG, JPEG, PNG, and WebP, up to about 50 MB.

Why is the color slightly different from the original website?

If you sampled from a JPG screenshot, compression may have shifted values slightly. Use a PNG screenshot or the original file for the precise value.

Can I sample more than one color from the same image?

Yes, without limits — every click is added to “Recent colors” (last 8) and can be restored with one click.

Does it work on mobile?

Yes. The tool is responsive and works in modern mobile browsers. Tap the point you need to sample its color.

How is this different from the browser’s built-in eyedropper?

Some browsers offer a system eyedropper, but not everywhere and not on every OS. Itqan’s tool works the same way in any modern browser, and adds the loupe, recent-color history, and all three formats together.

Summary

A color picker from image turns any photo or screenshot into a precise color source: upload, aim with the loupe, click, and copy the format you need. No guessing, no installs, no uploads to outside servers. Whether you are matching a deck to your brand, converting a design into CSS, or building a palette from an inspiring photo — the tool shortens the path to a professional result. Try the color picker free now.

Security and privacy

Your privacy is built into the design: the image is processed in your browser and never sent to a server, so no copy exists outside your device. That matters when sampling unpublished designs, internal system screenshots, or marketing assets still in preparation. Close the page and the data is gone — no account required and no files stored.

Pick a color from an image now, or continue with the logo generator and remove image background tools to finish your design.

Back to blog