Screen Color Picker

Pick any color from your screen and get its HEX, RGB, HSL, and OKLCH values instantly.

Developer ToolsFreeNo Signup
Screen Color Picker
Free Tool

How to use Screen Color Picker

You see a color on a website, in a design, or in a screenshot and need its exact HEX or RGB value. The Screen Color Picker uses the browser's built-in EyeDropper API to let you sample any color visible on your screen — from any tab, any image, any part of the browser interface — and get its color values instantly. How to use it: Click the Pick Color From Screen button. Your cursor becomes an eyedropper. Move it over any part of your screen — any browser tab, any image, any element. The color under your cursor is previewed in the small magnified swatch that follows the cursor. Click to select that color. The selected color is immediately shown in four formats: HEX — #FF5733, ready to paste into CSS or a design tool. RGB — rgb(255, 87, 51), for use in CSS color functions or JavaScript. HSL — hsl(11, 100%, 60%), for intuitive color manipulation in CSS. OKLCH — oklch(0.65 0.21 29°), for perceptually uniform color work in modern CSS. Copy any format: Each format has its own copy button. Click to copy just that value to clipboard — no need to select and copy manually. Color history: The last 10 colors you picked are shown in a history row. Click any previous color to restore its values and copy again. Manual hex input: Type a HEX value directly into the color input field to convert between formats without using the eyedropper — useful when you have a HEX from another source and need it in RGB or HSL. Browser support: The EyeDropper API requires a Chromium-based browser — Chrome, Edge, or Brave version 95 or higher. Firefox and Safari do not currently support the EyeDropper API. On unsupported browsers, a fallback color picker input is shown for manual entry. Use cases: Matching colors between a brand image and a CSS file, extracting a color from a screenshot for use in a design tool, quickly getting a HEX value from any element during front-end development.

Frequently Asked Questions

Which browsers support the screen color picker?

The EyeDropper API that powers this tool is supported in Chrome 95+, Edge 95+, and Brave. Firefox and Safari do not currently support it. On unsupported browsers, the tool shows a fallback standard color picker input that lets you enter colors manually but cannot sample from the screen. Check Can I Use for the latest browser support status.

Can I pick colors from outside the browser window?

Yes — the EyeDropper API can sample colors from the entire screen, not just the browser window. While the picker cursor is active, you can move it over other windows, desktop elements, and any other visible content on your display. This makes it useful for matching colors from native apps, design tools, or any other on-screen content.

Is the picked color always pixel-accurate?

The EyeDropper samples the exact pixel color at the cursor position as rendered on screen, accounting for display scaling and browser rendering. On HiDPI (Retina) displays, it samples at the logical pixel level. Anti-aliased edges, transparency effects, and CSS gradients may produce in-between color values at transition pixels rather than the intended pure color.

What is the difference between HEX, RGB, HSL, and OKLCH color formats?

All four describe the same color in different encodings. HEX is the most common in CSS and design tools. RGB expresses the same values in decimal, useful in JavaScript and CSS functions. HSL (Hue, Saturation, Lightness) is more intuitive for adjusting colors — change lightness to get tints and shades. OKLCH is a modern perceptually uniform format where equal numeric changes produce equal perceived color differences.

Can I pick a color from an image on a webpage?

Yes. With the eyedropper active, move the cursor over any image visible in the browser or anywhere on your screen and click. The color at the exact pixel position is sampled. This is useful for extracting brand colors from a company logo, matching a color from a design mockup, or identifying the exact shade used in a chart or infographic.

Recommended

Related Tools