Skip to content

The colour picker

The colour picker reads a colour off your screen and gives you its value in seven notations. It is a tool of its own rather than a capture: it takes no screenshot and saves no capture file.

Starting it

Where How
The tray or menu bar Color > Color Picker, just under the scan row
The preview editor The pipette button at the left of the image toolbar, just before the colour swatch
A terminal, or your own shortcut cosmic-capture-kit color --picker
A global key The Color Picker row in Settings, under Shortcuts

The Color Picker shortcut ships with no key set, like every other global shortcut. Give it one if you use the tool often.

Picking a colour

The screen dims and a magnifier follows your pointer.

The magnifier shows the pixels around the pointer as squares, so you can see the grid rather than a blur. The pixel you are about to take sits in the middle, outlined. A ring in your accent colour runs around the rim. Beside it, a small chip is filled with the colour itself and carries its hex value, so you can read the answer before you commit to it.

The pointer itself is hidden while you pick, on every platform. The arrow would otherwise sit on top of the very pixel the lens is reading. The lens is centred on where the pointer is, so that is still what you aim with.

What you do What happens
Move the pointer Moves the sample
Arrow keys, or h j k l Moves the sample one pixel; hold one down to keep moving
Click, Enter or Space Takes the colour the magnifier is showing
Scroll wheel, or a two-finger trackpad scroll Zooms the magnifier
Numpad + and numpad - Zooms the magnifier
Esc, or right-click Leaves without taking anything

The keys are there so an exact pixel does not need a steady hand. Nudge with the arrows or the vim letters until the outlined pixel is the one you want, then press Enter or Space. Reaching back for the mouse to click would undo the aim you just made. One tap is always one pixel, whatever your desktop's key-repeat settings are, and a held key falls into a steady repeat after a moment.

Zooming changes how much of the screen the lens holds, not how big the lens is. It opens holding 13 of your screen's pixels across the lens and travels both ways: out to 52 when you want to see what is around the sample, in to 6 when you need to tell one pixel from its neighbours. It stops a little short of 1:1 at the wide end, because a lens showing your pixels at their own size adds nothing your eyes do not already give you. The zoom is not remembered: every pick starts at the default.

The ring's thickness is your Selection box thickness from Settings, under General, the same setting the capture region's box uses.

Near the edge of a screen the magnifier is cut off by the edge rather than pushed back inland, so it keeps following your pointer instead of stopping at the wall, and it is never squashed to fit. The part hanging off the screen shows the dimmed backdrop rather than invented pixels. The last row and column of pixels on a screen are still reachable.

How dark the screen goes is the During Color Picker slider in Settings, under General. It is 33 percent by default. The dim is there to say the tool is armed. It does not change the colour you get, because the value is read from a picture of your screen taken before the dim went on. See What it cannot do.

The result window

Clicking copies the colour to your clipboard and opens a small window. The window is a fixed size and cannot be resized, because nothing in it scrolls: it is exactly as big as the parts it holds.

Part, top to bottom What it is
The square Saturation and value for the current hue. Drag inside it to move the colour
The controls row A pipette that starts another pick, a round swatch of the current colour, and the hue and alpha strips stacked beside it
The value row A copy button, the value boxes, and the notation chooser
The divider A hairline with an Add to recents button sitting on it
The history Two rows of the colours you kept

The value row

It is one row whatever the notation, and the chevron pair at its right end is a single button: press it and a menu of the seven notations opens, with the current one marked.

Your choice is remembered between launches, and it is the spelling a pick copies to your clipboard. Changing it copies nothing, so you can read through all seven without your clipboard changing seven times.

Each one spells the same colour its own way, and that spelling is what a copy gives you:

Notation What a copy gives you
HEX #FF8800
RGB rgb(255, 136, 0)
HSL hsl(32, 100%, 50%)
HSV hsv(32, 100%, 100%)
OKLCH oklch(75.6% 0.176 60.7)
CMYK cmyk(0%, 47%, 100%, 0%)
LAB lab(70.2% 34.4 76.4)

Hex is one box holding the whole spelling, so you can paste #FF8800CC in as one piece. Every other notation splits into a box per component, with its name captioned underneath, so you can nudge one number without retyping the rest.

The boxes are editable, and the colour follows as you type. A component box takes its own number, with the % optional where the number is a percentage, and the alpha box takes either a percentage or a figure from 0 to 1. The hex box is the forgiving one: the leading # is optional, the letters may be either case, and the short forms work too, so f80 and #FF8800 are the same colour. A half-typed value is left alone until it makes sense, so the swatch never flashes through nonsense on the way to what you meant, and pressing Enter tidies what you typed into its canonical spelling.

Two notes on the numbers themselves:

  • CMYK here is the device-agnostic kind, the same numbers a design tool shows. It is not an ICC separation for a real press, which would depend on the ink, the paper and the profile.
  • LAB and OKLCH can describe colours your screen cannot show. Type one of those and the value is brought back to the nearest colour sRGB can hold, rather than wrapping round to something unrelated.

Two chords belong to this window, and Tab walks it: the boxes first, then the notation chooser, then the history, then the panel when it is open.

Chord What it does
Ctrl+Enter (Cmd+Enter on macOS) Keeps the colour: files it into the history, the same as the Add to recents button
Ctrl+Shift+C (Cmd+Shift+C on macOS) Copies the value. Plain Ctrl+C is left alone, so it still copies whatever you selected inside a box

Recent colours

The bottom two rows hold the colours you kept, newest first, eighteen of them, nine to a row. The oldest falls off the end. Each is remembered with its own transparency, and a see-through one is drawn as a split swatch so you can tell. They are saved between launches, so they are still there the next time you open the tool.

  • Clicking one loads it into the swatch and the boxes. It does not move it to the front. The row stays a stable place to look rather than reshuffling itself under your pointer.
  • A pick files a colour, and so does swapping the current one out. Take a colour from the harmonies or from a saved palette and the colour you were holding is filed first, so nothing you had goes missing. The same colour at the same transparency is never filed twice.
  • Typing never files anything. The square, the strips and the boxes are for exploring, so only a pick or the explicit add writes to the row.
  • Right-click a swatch for its menu. What it offers depends on which swatch it is, between making it the current colour, adding it to the history, copying it, removing it, and sending it to one of your saved palettes.

The pipette at the start of the controls row starts another pick. The window stays open while you do, and the colour you pick lands in the window you already have: it becomes the new swatch and the newest entry in the history. There is only ever one picker window, so picking again from the tray, a shortcut or the command line updates that same window rather than stacking up another.

Each pick is still a fresh start that dims your screen again, rather than a re-read of the picture the window was opened from. That is deliberate: it leaves you free to take the next colour off a different monitor.

The side panel

The button at the right of the window's title bar doubles the window's width and opens a panel beside the picker. Nothing on the picker's side moves. Both the open state and the tab you were last on are remembered, and Ctrl+Tab moves between the tabs.

Harmonies

Five cards, worked out from the colour the window is showing and recomputed as it changes: Complementary, Analogous, Triadic, Tetradic and Monochromatic. Each heading carries a one-line explanation of the relationship.

Click a swatch to make it the current colour, or right-click it for the same menu every swatch in the window has.

Saved Palettes

Your own named groups of colours, kept between launches.

  • New Palette, at the top right of the tab, adds a group at the TOP of the list with its name selected, ready to type over. Click a name at any time to rename it in place.
  • Beside that button are a search field, which filters the list by name, and a sort button offering six one-shot orders: name A to Z or Z to A, lightest or darkest first, warmest or coolest first.
  • Each group's title row carries a pipette, which starts a pick that lands straight in that group, and a plus, which adds the colour the window is showing.
  • Dragging does the rest. Along a group's own bar reorders it. Onto another group copies the colour there. Onto the picker's side of the window makes it the current colour. Off the window removes it. A group's NAME drags too, to reorder the groups, or off the window to delete the group, which asks you first. Colours never ask; groups do.
  • The swatch menu keeps the verbs a drag does not offer, including Move to palette, which takes the colour out of the group it came from.
  • Clicking a swatch applies it as the current colour, and a colour already in a group is not added to it twice.

Palettes are kept in their own file beside your settings, so a factory reset leaves them alone. Before you save any of your own, you start with two groups, Catppuccin Latte and Mocha.

Picking a colour to draw with

The preview editor's image toolbar has its own pipette, just before the colour swatch. It is there so you can take a colour off the screen and draw with it.

A pick started that way goes straight into the editor: it becomes the annotation colour, it recolours anything you have selected, and it joins the editor's own recent colours, exactly as choosing a colour from the swatch would. No result window opens. You asked for a colour to draw with, not for a window to read and dismiss, and the colour is already showing in the swatch.

If the editor has closed by the time you click, nothing is lost. The pick falls back to the ordinary result window.

What it cannot do

These are worth knowing before you reach for the tool.

It reads a picture of your screen taken when the tool opened, not the live screen. So anything that changes after you start picking, a video playing, a progress bar, an animation, cannot be picked: you will get the colour it had at the moment you opened the tool. This is deliberate. The picker dims your screen while you aim, so reading the live screen would read the dim as well and report a colour that is darker than the real one. A picker that reports the wrong colour is worse than one that shows you a still.

Under a Flatpak install it covers one monitor, not all of them. A sandboxed app has to ask your desktop for screen access, and that permission covers the one monitor you granted. A normal install covers every screen at once.

The lens never straddles two screens. It belongs to whichever screen your pointer is on, so pushing across the seam between two displays moves the whole lens to the other one rather than drawing half on each. Since every screen's own last row and column stay reachable from that screen, this is never in your way.