Mac Color Picker: How to Pick a Color From the Screen
Pick any color on your Mac screen with the built-in Digital Color Meter, copy HEX in one keypress, average an area, and check WCAG 2 and APCA contrast.
GuideUpdated 9 min read
On this page
Your Mac has a color picker tool built in. Open Digital Color Meter (in Applications › Utilities, or press ⌘Space (Command-Space) and type its name), point at any pixel, and read its values live. Press ⇧⌘C (Shift-Command-C) to copy them as text. If the value is going into CSS or a design file, choose sRGB from the window's pop-up menu first.
Digital Color Meter reads colors and nothing else. Sometimes you need more than a reading: a HEX code in one keypress, the color averaged over an area, the same color in RGB, HSL and OKLCH, or a contrast check between two colors. For those, a screenshot tool with a color panel saves steps. Below is the built-in way first, then how to do each of those in Pixfinch, our screenshot app.
Use the built-in Mac color picker: Digital Color Meter
Digital Color Meter comes with macOS and costs nothing. Apple's user guide covers it on every version from macOS High Sierra through macOS Tahoe 26.
- Open Digital Color Meter from Applications › Utilities, or search for it with Spotlight.
- Move the pointer over the color you want. The window shows a magnified view of the area under the pointer (the aperture) and the color values next to it.
- Choose a color space from the pop-up menu in the window. Pick sRGB for web and most UI work. The display's native values can differ from the sRGB numbers your CSS uses.
- If you want hexadecimal values instead of decimal ones, change how values are displayed in the View menu.
- To keep the reading still while you move the pointer elsewhere, lock the aperture. You can lock it horizontally, vertically or both.
- Press ⇧⌘C to copy the color as text, or ⌥⌘C (Option-Command-C) to copy it as an image.
What it can't do: Digital Color Meter is a color reader only. It has no contrast checker, and it doesn't take screenshots or annotate them. Each new color means moving the pointer back and copying again.
The system Colors window eyedropper
Many Mac apps use the standard Colors window, and it has its own eyedropper. In TextEdit, choose Format › Font › Show Colors. Click the magnifying glass, then click any pixel on screen. Switch to the sliders tab and choose RGB Sliders to see the value in the Hex Color # field, ready to copy. This is the quickest route when you're already in an app that opens the Colors window.
Copy a HEX value from the screen in one keypress
Pixfinch's area selection shows a magnifier loupe with a 15×15 px grid around the pointer, plus the center pixel's HEX value and coordinates. You can copy that HEX value without taking a screenshot.
- Press ⌃⇧4 (Control-Shift-4), Pixfinch's default Capture Area shortcut, or choose Capture Area from the Pixfinch menu-bar menu.
- Move the pointer over the color and read the HEX value in the loupe.
- To land on a single pixel, hold Z for 4× zoom around the pointer, or hold ⌘ to slow the pointer to 25% speed.
- Press C before you start dragging. Pixfinch copies the HEX value and shows "Copied #…".
- Press Esc (or right-click) to leave without capturing anything.


Two details that matter:
- C copies a color only before you draw a selection. Once a selection exists, keys do other things. In All-In-One (⌃⇧1), for example, C captures the selection after you drag.
- Colors that vanish when you press a key. Menus, tooltips and hover states often disappear when the overlay opens. Turn on Freeze screen while selecting in Settings › Capture › Selection. Pixfinch then grabs every display before the overlay appears, so you pick from the frozen image. The overlay shows "FROZEN · " while it's on.
Pixfinch's default shortcuts use ⌃⇧ so they don't replace macOS's own ⌘⇧3 and ⌘⇧4. You can change them in Settings › Shortcuts.
Copy a HEX value from an image or an existing screenshot
In the Pixfinch editor, press Tab to copy the HEX value of the pixel under the pointer ("Copied #…"). To get an image into the editor:
- Choose Open Image… (⇧⌘O) from the Pixfinch menu, or drop the file on the Pixfinch menu-bar icon. Pixfinch opens PNG, JPEG, HEIC, TIFF, WebP, GIF and BMP.
- Copy an image, then choose Annotate Clipboard Image (⇧⌘V).
- Click Annotate on the Quick Access card that appears after a capture.
Opening an image never changes the original file. If you save, Pixfinch writes a new file to your save folder.
Average a color over an area
A single pixel is often the wrong sample. Anti-aliased edges blend two colors, gradients change from pixel to pixel, and photos and JPEG screenshots have noise. Averaging a small area gives you the color a person actually sees.
In Digital Color Meter, drag the aperture size slider to widen the sampled area, so the reading covers more pixels.
In Pixfinch, use the Colour Picker tool in the editor:
- Capture the area that contains the color (⌃⇧4), or open an image as described above.
- In the editor, press I or click Colour Picker in the tool dock.
- Drag over the area you want to sample. The Colour panel opens with the averaged color. To read a single pixel instead, click it.
Don't average over text. You'll get a mix of the text and its background, which makes any contrast check meaningless. For a text color, click one pixel in the middle of a thick stroke, or take the value from the design file or CSS if you have it.
HEX, RGB, HSL and OKLCH explained
Pixfinch's Colour panel shows each picked color in four formats; click any value to copy it. The examples below are CSS notation for the same blue, #3366CC.
| Format | Example | What the numbers mean | Use it when |
|---|---|---|---|
| HEX | #3366CC | Red, green and blue as two hex digits each, 00 to FF | You paste into CSS, Figma, Sketch or most design tools |
| RGB | rgb(51 102 204) | The same three channels in decimal, 0 to 255 | A tool or API wants numbers instead of hex |
| HSL | hsl(220 60% 50%) | Hue (0–360°), saturation and lightness in percent | You want a lighter or darker variant by changing one number |
| OKLCH | about oklch(53% 0.17 262) | Perceptual lightness, chroma (0 is gray, higher is more colorful) and hue | You build palettes or color scales that should look evenly spaced |
HEX and RGB describe exactly the same color in different notation. HSL is easy to edit, but its lightness isn't how bright a color looks: a yellow and a blue at 50% lightness look very different. OKLCH fixes that. Two colors with the same OKLCH lightness look about equally light, which makes it the better format for tints, shades and accessible palettes. Current browsers support oklch() in CSS.
The panel also has Use for annotations, which makes the picked color the annotation color in the editor.
Check text contrast with WCAG 2 and APCA
Once you have two colors, check whether text in one is readable on the other. Pixfinch's Colour panel includes a contrast checker with a Text well, a Background well, a swap button and an "Aa Headline" preview. With your text color in the Text well and the background color in the Background well, it shows:
- the WCAG 2 contrast ratio, with results for AA and AAA at normal and large text sizes, and for UI elements at 3:1
- the APCA lightness contrast value (Lc)


WCAG 2 thresholds
WCAG 2 contrast ratios run from 1:1 (no contrast) to 21:1 (black on white).
| Level | Normal text | Large text | UI components and graphics |
|---|---|---|---|
| AA | 4.5:1 | 3:1 | 3:1 |
| AAA | 7:1 | 4.5:1 | (not defined) |
"Large text" means at least 18 point, or 14 point bold. In CSS that's about 24 px, or about 18.7 px bold.
What APCA adds
APCA (the Accessible Perceptual Contrast Algorithm) models how people perceive contrast, taking font size and weight into account. It reports a lightness contrast value, Lc, instead of a ratio, and its guidance asks for more contrast for small body text than for large headlines.
APCA also cares about polarity: dark text on a light background doesn't score the same as light text on a dark background. The swap button shows this. Swap the two wells and the APCA value changes, while the WCAG 2 ratio stays the same because WCAG 2 treats both directions alike.
Pixfinch's panel puts it this way: "APCA is the candidate contrast method for WCAG 3; WCAG 2 is today's legal baseline." In practice, pass WCAG 2 for compliance and use APCA as a second opinion, especially for dark mode and thin fonts.
Which method to use
| Digital Color Meter | Pixfinch selection loupe | Pixfinch Colour panel | |
|---|---|---|---|
| Cost (as of November 2026) | Free, built into macOS | Part of MacSuite ($349 one-time), 7-day free trial | Same |
| Copy a value | ⇧⌘C copies the values as text | C copies HEX | Click any value to copy |
| Average an area | Yes, widen the aperture | No, single pixel | Yes, drag over an area |
| Formats | Values in the color space you choose | HEX | HEX, RGB, HSL, OKLCH |
| Contrast check | No | No | WCAG 2 and APCA |
Pick Digital Color Meter if you only need to read a color now and then. It's free and already on your Mac.
Pick Pixfinch if you pick colors often, want HEX in one keypress, need OKLCH or HSL without converting, or check contrast as part of design or accessibility work. Its editor also measures gaps and spacing in screenshots (see our screen ruler guide). Pixfinch is part of MacSuite; you can try it free for 7 days.
If it doesn't work
The value doesn't match your CSS or design file. The usual cause is color space. Many displays use a wider color space than sRGB, so a native reading of the same pixel gives different numbers. In Digital Color Meter, choose sRGB from the pop-up menu. For text, also check that you didn't sample an anti-aliased edge.
Pixfinch's overlay doesn't appear, or capture fails. Pixfinch needs Screen Recording permission for every capture. Open System Settings › Privacy & Security, turn on Pixfinch under Screen & System Audio Recording (called Screen Recording on macOS 14 Sonoma), then click Quit & Reopen in Pixfinch's permission window. macOS usually applies the change only after the app reopens. See Screen Recording and other permissions.
Pressing C captured the selection instead of copying a color. C copies the loupe color only before a selection exists. Press it while the pointer is hovering, before you drag.
The menu or hover state closes before you can pick it. Turn on Freeze screen while selecting (Settings › Capture › Selection), open the menu or hover state, then press ⌃⇧4.
Pressing I doesn't switch to the Colour Picker. Single-letter tool keys don't work while you're typing in a text annotation, while ⇧, ⌃ or ⌥ is held, or when the editor isn't the front window. Press Esc to finish the text, then click the editor's title bar and try again.
The contrast result looks wrong. Make sure each color is in the right well: APCA changes when text and background are swapped, WCAG 2 doesn't. Re-pick any color you averaged over text.
FAQ
Does macOS have a keyboard shortcut for picking a color? Not system-wide out of the box. Once Digital Color Meter is open, ⇧⌘C copies the color under the pointer. With Pixfinch, ⌃⇧4 then C copies a HEX value from anywhere on screen.
Can I pick a color from an image file instead of the live screen? Yes. Open the image in Preview and read it with Digital Color Meter, or open it in Pixfinch with Open Image… (⇧⌘O) and press Tab over the pixel or use the Colour Picker tool.
Does this work on an external display? Digital Color Meter reads whatever is under the pointer. Pixfinch's area selection works on any display, and the loupe reads the pixel under the pointer there.
For the rest of the Pixfinch editor's tools, see Annotating screenshots. If you're still choosing a screenshot app, our list of the best screenshot apps for Mac compares the main options, free ones included.