How to Pick a Color From Your Screen on Mac
Grab the exact hex code of any pixel on your Mac. Three ways to do it: the free Color Picker extension for Raycast, Digital Color Meter, and the macOS color panel.
Grab the exact hex code of any pixel on your Mac. Three ways to do it: the free Color Picker extension for Raycast, Digital Color Meter, and the macOS color panel.
You spot the perfect blue on a website, in a screenshot, or in someone's slide deck. Now you need its hex code, and the dev tools are three clicks too far away.
The short answer: install the free Color Picker extension for Raycast, run Pick Color and click anywhere on your screen. The hex code lands on your clipboard. Built into macOS, open Digital Color Meter from Applications → Utilities and press ⇧ ⌘ C to copy the color under your pointer.
Here are all three ways, and when each one makes sense.
| Method | Best for | Copies hex in one step | Keeps a history |
|---|---|---|---|
| Color Picker for Raycast | Everyday picking, from anywhere | Yes | Yes, with favorites and groups |
| Digital Color Meter | Checking values, no install | After a one-time setting | No |
| Colors panel eyedropper | Picking inside TextEdit, Pages or Keynote | No | No |
Color Picker is a free extension made by the Raycast team, with more than 620,000 installs. It uses the same magnifier as macOS's own eyedropper, so it works on anything you can see: apps, websites, videos, other people's screens in a call.
Open Raycast and run Pick Color. Raycast gets out of the way, the magnifier appears, and one click copies the color. Press Esc if you change your mind. Every color you pick ends up in your history.

The extension comes with a handful of commands:
#FF6363 or rgb(255 99 99), and see it in every format.A few things worth knowing:
#, RGB, RGBA, HSL, HSV, OKLCH, LCH or Display P3. Need a different one just this time? Press ⌘ ⇧ C on any saved color for the Copy as menu.Work/Calendar to nest them. Copy Group copies the whole set as JSON, CSS variables or CSS classes.You can also just ask. In Raycast AI, type @, pick Color Picker and ask “is white text on #FF6363 readable?” It checks the WCAG contrast for you. It can also convert colors, name them, build an 11-step OKLCH scale from one color, and save colors to your favorites.
Color Picker works on Windows too.
Every Mac comes with Digital Color Meter. It shows the value of whatever is under your pointer, live.
⌘ L to lock the position.⇧ ⌘ C.Useful details:
⌘ X locks only the horizontal position and ⌘ Y only the vertical one, handy when you're sliding along a gradient.⌥ ⌘ C copies the color as an image, a small swatch you can paste anywhere.Many Mac apps share the system Colors panel, and it has an eyedropper.
⇧ ⌘ C.It's fine for a one-off, but it takes a few clicks, the panel only remembers colors you drag into its swatches, and it changes the color of whatever you had selected in the document.
Here's a quick tour of what else it can do, in under seven minutes:
Yes, two. Digital Color Meter in Applications → Utilities shows the color under your pointer, and the Colors panel in apps like TextEdit and Pages has an eyedropper. Neither keeps a history of the colors you pick.
In Digital Color Meter, choose View → Display Values → as Hexadecimal, hover the color and press ⇧ ⌘ C. With Color Picker for Raycast, run Pick Color and click: the hex code is copied right away.
Yes. Open the Colors panel in TextEdit with Format → Font → Show Colors and click the eyedropper button, then click anywhere on screen. Color Picker for Raycast uses the same macOS magnifier, without opening an app first.
By default Digital Color Meter shows values in your display's native color space. Set its pop-up menu to Display in sRGB to get hex codes that match CSS and most design tools.
Open the image and use any eyedropper on it. Or select the image in Finder and run Extract Color from Selected Image in Raycast to get a grid of its colors.
Pick any color on your screen with one keystroke. Try Raycast with the free Color Picker extension.
Download
More guides
Find out what's slowing your Mac down. Check CPU and memory usage with Activity Monitor, a few Terminal commands, or the free System Monitor extension for Raycast.
Connect your AirPods, headphones, keyboard or mouse without digging through menus. Three ways to do it on a Mac: Control Center, System Settings, and the free Toothpick extension for Raycast.
Grab text from screenshots, images, videos and apps that won't let you select it. Three ways to do it: Live Text in Preview and Photos, the screenshot thumbnail, and the free ScreenOCR extension.
When an app freezes, press ⌥ ⌘ Esc to force quit it. Here's every way to quit and force quit apps on a Mac, from the keyboard, the Dock, Activity Monitor, Terminal and Raycast.
