ShotmiGuides
How to pick a color from your Mac screen
Every Mac has a color picker: Digital Color Meter, in Applications › Utilities. For HEX in one keystroke, or SwiftUI and UIKit code, use a screenshot tool with a color picker such as Shotmi.
Digital Color Meter (built in)
- Open Digital Color Meter (Applications › Utilities, or search for it with Spotlight).
- Move the pointer over the color. The window shows a magnified view and the red, green and blue values.
- Press ⇧⌘C to copy the color as text.
To get HEX, choose View › Display Values › as Hexadecimal first. The app has to be open and in front for the shortcut to work, and the screen keeps moving while you aim.
Shotmi
Shotmi is a screenshot app whose capture shortcut doubles as a color picker:
- Press ⇧⌘X. The screen freezes and a loupe follows the pointer.
- Aim at the pixel. Press F to change the format if you need another one.
- Press C. The color is on the clipboard.
| Format | Example |
|---|---|
| HEX | #FF5F1F |
| RGB | rgb(255, 95, 31) |
| HSL | hsl(17, 100%, 56%) |
| SwiftUI | Color(red: 1.0, green: 0.373, blue: 0.122) |
HSB, UIColor and NSColor are available too. Because the screen is frozen, hover colors, menus and video frames hold still. More on the Color picker page.
Good to know
- Colors on screen depend on the display's color profile. Two Macs can report slightly different values for the same image.
- Text is drawn with soft edges. Zoom in and pick from the middle of a letter's stroke, not from its edge.
Last updated: November 16, 2026