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)

  1. Open Digital Color Meter (Applications › Utilities, or search for it with Spotlight).
  2. Move the pointer over the color. The window shows a magnified view and the red, green and blue values.
  3. 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:

  1. Press ⇧⌘X. The screen freezes and a loupe follows the pointer.
  2. Aim at the pixel. Press F to change the format if you need another one.
  3. 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

Last updated: November 16, 2026

Shotmi for Mac

Capture, measure, mark up, copy text and pick colors with one shortcut. $9.90 once (limited-time launch offer, regularly $29.90), for 2 Macs. No subscription.

macOS 14 or later on Apple silicon or Intel. One-time purchase, refundable within 14 days.