1. Stello
  2. Guides

How to pick a color from your Mac screen and copy the hex code

You want to use a color you saw on a website in your slides. You need to specify a design's color exactly in code. That's when an eyedropper for your screen comes in handy. Here's how to find a color on your Mac screen and copy its color code.

Types of color codes

FormatExampleCommonly used in
HEX#2F8CFFThe web (CSS), design tools like Figma
RGB47, 140, 255Image editors, code

HEX and RGB are two ways of writing the same color. If you're not sure which you need, note down the HEX code, which works in most tools.

Find a color with built-in Mac tools

Option 1: Digital Color Meter

Your Mac comes with an app called Digital Color Meter for checking colors on screen. You'll find it in Applications → Utilities.

  1. Open Digital Color Meter
  2. Move the pointer over the color you want, and the values for that spot are shown
  3. Press ⇧⌘C to copy the color values as text (Color → Copy Color as Text in the menu bar)

To show the values as HEX, choose View → Display Values → as Hexadecimal. Setting the color space to Display in sRGB also makes it easier to match colors used on the web.

The values change as the pointer moves, so to stay on the color you want, use View → Lock Position. It takes a little practice.

Option 2: The eyedropper in the Colors window

In apps like TextEdit or Keynote, choose Show Colors (in TextEdit, Format → Font → Show Colors) to open the Colors window. Use its eyedropper to pick a color from the screen, then check its RGB or HEX values on the Color Sliders tab.

Copy the HEX code with a click (Stello)

With Stello's Color Picker card, the HEX code is copied the moment you pick a color.

How to use it

  1. Hold down the right ⌘ key to bring up the cards
  2. On the Color Picker card, click Pick a Color on Screen
  3. Click the color you want, then press ⌘V where you want to use it

Summary