Guides › Desktop and apps

Color Picker and Ruler

Copy the colour of any pixel on the screen as HEX, RGB or HSL, keep a list of recent colours, and measure distances on the screen in pixels.

Color Picker has two tools for anyone who works with screens, pictures or web pages:

  • the picker shows a magnified view of the screen under the pointer and copies the colour of the pixel you click
  • the ruler measures the distance between two points on the screen, in pixels

Both tools work over a still picture of the screen taken when you start them, so nothing moves while you pick or measure. Both have keyboard shortcuts that work from anywhere.

Pick a colour from the screen

  1. Press Logo key + Shift + C. The logo key is the key with the logo on it, next to Alt.
  2. The pointer becomes a cross, and a magnifier follows it. The magnifier shows the pixels around the pointer, much bigger, with the pixel in the middle outlined.
  3. Under the magnified pixels you see the colour of the middle pixel as HEX (like #3A7BD5), RGB (like rgb(58, 123, 213)) and HSL (like hsl(215, 65%, 53%)).
  4. Move the pointer to the pixel you want. For exact work, press the arrow keys to move one pixel at a time, or hold Shift with an arrow key to move ten pixels.
  5. Click the left mouse button, or press Enter or Space.
  6. The HEX value is copied, and a small message at the bottom of the screen says Copied with the value and a swatch of the colour.
  7. Paste it anywhere with Ctrl + V.

To stop without picking, press Esc or click the right mouse button.

HEX, RGB and HSL are three ways to write the same colour:

  • HEX gives the red, green and blue parts as two hex digits each, after a #.
  • RGB gives the red, green and blue parts as numbers from 0 to 255.
  • HSL gives the hue (the colour around the colour wheel, 0 to 359 degrees), the saturation (how strong it is, in percent) and the lightness (how light, in percent).

Keep and copy recent colours

The Color Picker app window keeps the last 20 colours you picked, newest first.

  1. Open Start, type color and click Color Picker.
  2. Under Copy as, choose HEX, RGB or HSL. The list shows every colour in that form. You can also press Ctrl + 1, Ctrl + 2 or Ctrl + 3.
  3. Click a colour in the list to copy it in that form. Or choose one with the Up and Down arrow keys and press Enter.
  4. The bottom of the window says Copied with the value.

You can also pick from the window: click Pick a colour (or press Ctrl + P). The window steps out of the way while you pick, and comes back with the new colour at the top of the list.

To empty the list, click Clear.

The list and the form you chose are kept for your account, in App Data\Local\Color Picker in your account folder, so they are still there after a restart.

Measure with the ruler

  1. Press Logo key + Shift + R. You can also click Ruler in the Color Picker window, or press Ctrl + R there.
  2. Thin lines across the screen follow the pointer, and a hint at the top says what to do.
  3. Hold the left mouse button where you want to start measuring, drag to the other point, and let go.
  4. A line joins the two points, a dotted box shows the width and height, and a label shows Width, Height and Length in pixels. The length is the straight distance between the two points.
  5. To keep the line level or upright, hold Shift while you drag.
  6. To fine-tune the end point after you let go, press the arrow keys (one pixel) or Shift with an arrow key (ten pixels).
  7. Press Ctrl + C or Enter to copy the measurement as text.
  8. Drag again to measure something else. Press Esc or click the right mouse button to close the ruler.

Keyboard shortcuts

KeysWhat happens
Logo key + Shift + CPick a colour from the screen
Logo key + Shift + ROpen the ruler
Arrow keysMove the point one pixel (with Shift, ten pixels)
Enter or SpacePick the colour under the point
EscStop picking or close the ruler

Logo key + Shift + M is not the ruler: it brings back windows that Logo key + M minimized.

If something goes wrong

  • Nothing happens when I press Logo key + Shift + C. Only one picker or ruler can be open at a time. Press Esc to close one that may be open, then try again.
  • The colour looks slightly different from what I expected. The picker reads the exact pixel shown on the screen. Smooth edges of text and pictures mix colours, so pick a pixel in the middle of the area you want, using the arrow keys to move one pixel at a time.
  • The picker does not see a window that just opened. The picker works on a picture of the screen taken when you started it. Press Esc and start it again.

Still stuck? Search the help center or contact support.