Color picker

Pick any color on screen and copy it as hex, RGB, Display P3, HSL or ready-to-paste code.

Press ⌃⇧P, or click Color in the popover. The screen freezes and a loupe follows the pointer.

  1. Press Tab (or C) to choose the format.
  2. Click a pixel. The color is copied in that format.

Esc cancels.

Formats#

Tab cycles through:

FormatExample
Hex#4FD8EB
RGBrgb(79, 216, 235)
Display P3color(display-p3 0.41 0.83 0.91)
HSLhsl(187 80% 62%)
SwiftUIColor(red: 0.31, green: 0.847, blue: 0.922)
NSColorNSColor(srgbRed: …, green: …, blue: …, alpha: 1)
UIColorUIColor(red: …, green: …, blue: …, alpha: 1)
CSS variable:root { --name: #4FD8EB; }

The examples are approximate. The color is read from the captured pixels in the display’s own color space, so a color on a wide-gamut display keeps its Display P3 value. When a color is outside sRGB, the SwiftUI, NSColor, UIColor and CSS formats use their Display P3 forms.

Next#

Something missing or unclear? Write to [email protected].

↑ ↓ to move, Enter to open, Esc to close