Eyedropper Tools for Web Designers
The Modern Color Picking Workflow
Every web designer has been there: you see a color on a website, in an image, or in another application and need to match it in your project. The old workflow — screenshot, paste into Photoshop, sample — is slow. Modern eyedropper tools let you pick any color on screen in seconds.
The landscape splits into three categories: native browser APIs, browser extensions, and standalone desktop apps. Each has different strengths depending on your workflow.
The EyeDropper API
Modern browsers now support the EyeDropper API, a JavaScript API that lets web applications access a system-level color picker directly. No extensions needed.
How It Works
async function pickColor() {
try {
const eyeDropper = new EyeDropper()
const result = await eyeDropper.open()
console.log(result.sRGBHex) // "#ff6600"
return result.sRGBHex
} catch (e) {
// User cancelled the picker
console.log('Color picking cancelled')
}
}
Triggering the Picker
<button onclick="pickColor()">Pick a Color</button>
<div id="preview" style="width:40px; height:40px; border:1px solid #ccc;"></div>
<script>
async function pickColor() {
const eyeDropper = new EyeDropper()
const result = await eyeDropper.open()
document.getElementById('preview').style.backgroundColor = result.sRGBHex
}
</script>
Browser Support
| Browser | Support | Notes |
|---|---|---|
| Chrome | 95+ | Full support |
| Edge | 95+ | Full support |
| Opera | 81+ | Full support |
| Firefox | No | Not implemented |
| Safari | No | Not implemented |
For unsupported browsers, fall back to a manual color input:
function isEyeDropperSupported() {
return 'EyeDropper' in window
}
if (isEyeDropperSupported()) {
// Show eyedropper button
} else {
// Show fallback color input
}
Security Considerations
The EyeDropper API requires user activation — you can't open the picker automatically. This prevents malicious sites from silently sampling screen content. The browser shows explicit UI indicating the picker is active, and users can cancel at any time with Escape.
Browser Extensions
Extensions work everywhere on the page and can pick colors from any visible element, including areas outside the web page content area.
Top Extensions Compared
| Extension | Chrome | Firefox | Features | Price |
|---|---|---|---|---|
| ColorZilla | Yes | Yes | Eyedropper, CSS gradient generator, palette history | Free |
| Eye Dropper | Yes | No | Simple picker, history, multiple formats | Free |
| ColorPick Eyedropper | Yes | No | Zoom picker, auto-copy, formats | Free |
| Rainbow Color Tools | No | Yes | Picker, inspector, library | Free |
What Extensions Offer Over the API
- Cross-origin picking: Extensions can sample colors from browser chrome (toolbars, other tabs), while the EyeDropper API is limited to screen pixels
- Persistent history: Save picked colors across sessions
- Format conversion: Instantly convert between hex, RGB, HSL, and OKLCH
- Palette building: Click multiple colors to build a palette without leaving the picker
Desktop Eyedropper Apps
When you need to pick colors outside the browser — from desktop apps, games, or system UI — a desktop tool is the only option.
| Tool | Platform | Key Feature |
|---|---|---|
| macOS Digital Color Meter | macOS | Built-in, no install |
| PowerToys Color Picker | Windows | Win+Shift+C, auto-copy |
| gpick | Linux | Advanced palette management |
| Sip | macOS | Design app integration |
| Just Color Picker | Win/Mac | Multiple format output |
Windows PowerToys Setup
PowerToys Color Picker is the fastest option for Windows users:
- Install PowerToys from Microsoft Store or GitHub
- Enable "Color Picker" in PowerToys settings
- Set activation shortcut (default:
Win+Shift+C) - Click any pixel on screen to copy the hex value
- Press the shortcut again to view history
The picked color is automatically copied to your clipboard, ready to paste into CSS.
Integrating Eyedropper Picks Into Your Workflow
From Pick to CSS Variable
- Pick the color using any tool above
- Paste the hex value into your color converter
- Convert to OKLCH for your design tokens
- Add to your CSS custom properties
:root {
--brand-primary: oklch(0.55 0.2 260);
/* Fallback */
--brand-primary: #3366ff;
}
Building Palettes from Picks
Don't use picked colors directly — they're almost never part of a coherent system. Instead:
- Pick the reference color from your inspiration source
- Identify the hue angle in OKLCH
- Generate a full shade scale from that hue
- Validate contrast ratios for text usage
This converts a single inspiration color into a complete, accessible design system.
Related Guides
Try It Yourself
Pick colors from anywhere on your screen and instantly convert them to hex, RGB, HSL, and OKLCH. Our free tool handles every format you need.