# How to Pick a Color From Your Screen on Mac

URL: https://www.raycast.com/guides/how-to-pick-a-color-on-mac
Published: 2026-11-16
Updated: 2026-11-16
Description: 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](https://www.raycast.com/thomas/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                             |

## Pick a color with Raycast | The quickest way

### [Color Picker: grab any color on your screen](https://www.raycast.com/thomas/color-picker)

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.

![Organize Colors keeps your favorites and every color you've picked, ready to copy.](https://www.raycast.com/uploads/how-to-pick-a-color-on-mac/how-to-pick-a-color-on-mac.png)

The extension comes with a handful of commands:

- **Pick Color**: pick a color on your desktop and copy it.
- **Organize Colors**: browse your favorites, groups and history in a grid. Press Enter to copy, or paste straight into the app you're in.
- **Favorite Colors**: just the colors you starred.
- **Menu Bar Color Picker**: a menu bar icon with **Pick Color**, your favorites and your last nine colors.
- **Extract Color from Selected Image**: select an image in Finder and get a grid of up to 40 of its colors.
- **Convert Color**: paste any CSS color, like `#FF6363` or `rgb(255 99 99)`, and see it in every format.
- **Color Wheel** and **Color Names**: pick a color by eye, or find the name of a hex code.
- **Generate Colors**: describe a palette in words and let AI create it.

> Pro tip: give **Pick Color** a [hotkey](https://manual.raycast.com/command-aliases-and-hotkeys) in Raycast's settings, like ⌥ ⌘ P. Then picking a color is one keystroke and one click, from anywhere.

A few things worth knowing:

- **Pick your format once.** HEX is the default, but in the extension's preferences you can switch to lowercase hex, hex without the `#`, 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.
- **Your hex codes are sRGB.** The picker samples in Display P3 and converts to sRGB for HEX and RGB, so the code you paste into CSS or Figma matches what you saw. If you want the wider-gamut value, choose the P3 format.
- **History doesn't fill up with junk.** It keeps your last 200 picks. Favorites and colors in a group never get pushed out.
- **Groups for real projects.** In Organize Colors, use **Move Color to Group** and name groups like `Work/Calendar` to nest them. **Copy Group** copies the whole set as JSON, CSS variables or CSS classes.
- **Picking inside Raycast.** By default Raycast closes before you pick. Turn off **Close Raycast before picking color** in the Pick Color preferences if you want to sample something in the Raycast window itself.

You can also just ask. In [Raycast AI](https://manual.raycast.com/ai/ai-extensions), 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.

## Use Digital Color Meter | Built in: Utilities

Every Mac comes with Digital Color Meter. It shows the value of whatever is under your pointer, live.

1. Open **Digital Color Meter** from **Applications → Utilities**, or search for it in Raycast.
2. Choose **View → Display Values → as Hexadecimal**.
3. Set the pop-up menu at the top to **Display in sRGB**.
4. Hover over the color you want and press `⌘` `L` to lock the position.
5. Choose **Color → Copy Color as Text**, or press `⇧` `⌘` `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.
- Drag the **Aperture Size** slider all the way down to sample a single pixel. A larger aperture averages the pixels inside it, which is great for photos and wrong for a 1px border.

> Pro tip: the default **Display native values** shows your screen's own color space, so hex codes can be a few points off from your design file. Switch to sRGB once and it sticks.

## Use the eyedropper in the Colors panel | Built in: TextEdit, Pages and Keynote

Many Mac apps share the system Colors panel, and it has an eyedropper.

1. In TextEdit, choose **Format → Font → Show Colors**, or press `⇧` `⌘` `C`.
2. Click the eyedropper button in the panel.
3. Click any pixel on your screen, even outside the app.
4. To see the hex code, open the **Color Sliders** tab and choose **RGB Sliders**. The value is in the **Hex Color #** field.

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.

## New to Raycast?

Here's a quick tour of what else it can do, in under seven minutes:

[Video: 102 Things You Can Do With Raycast 2.0](https://www.youtube.com/watch?v=G7_7F_FBqQE)

## Frequently Asked Questions

### Does Mac have a built-in color picker?

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.

### How do I get the hex code of a color on my screen?

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.

### Is there an eyedropper tool on Mac?

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.

### Why doesn't the hex code from Digital Color Meter match my design file?

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.

### Can I pick a color from an image on Mac?

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.
