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
| Format | Example | Commonly used in |
|---|---|---|
| HEX | #2F8CFF | The web (CSS), design tools like Figma |
| RGB | 47, 140, 255 | Image 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.
- Open Digital Color Meter
- Move the pointer over the color you want, and the values for that spot are shown
- 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.
- Click Pick a Color on Screen, then click anywhere on the screen
- The color's HEX code goes straight to the clipboard
- Colors are picked as sRGB values, so you can use them as is on the web and in design tools
- Your recent colors stay on the card
How to use it
- Hold down the right ⌘ key to bring up the cards
- On the Color Picker card, click Pick a Color on Screen
- Click the color you want, then press ⌘V where you want to use it
Summary
- For the web and design tools, HEX color codes are the handiest
- With built-in tools, you can check colors with Digital Color Meter or the eyedropper in the Colors window
- To copy a HEX code with just a click, use Stello's Color Picker card