Magic Wand

Shortcut: W

The Magic Wand selects areas of similar color on the active layer. Click on any pixel, and all connected pixels of that color are selected.

Basic Usage

Click on any pixel to select all connected pixels of the same color. The selection spreads outward until it hits pixels of different colors.

Magic Wand selection around a filled region with marching-ants outline
One click with the Magic Wand selects a whole connected color region.

Tolerance

Tolerance controls how similar colors must be to be included in the selection. It runs from 0 to 255 and starts at 32. The wand remembers it, and the Contiguous setting, between sessions.

  • 0: exact color match only
  • Higher values: include similar colors within the tolerance range

Adjust tolerance:

  • D + drag: right or up increases, left or down decreases
  • Ctrl + scroll wheel, in steps of 5
  • The Tolerance field in the tool options row

Contiguous vs Non-Contiguous

The Contiguous checkbox in the tool options row switches between the two.

  • Contiguous (default): only selects connected pixels
  • Non-contiguous: selects all matching pixels on the layer, even if separated

Modifiers

  • Shift + click: add to selection
  • Altor Right Click + click: subtract from selection
  • Shift+Altor Shift+Right Click + click: intersect with selection
  • Hold any of these and drag to sweep several color regions into the result in one motion

Tips

  • Use with tolerance 0 for pixel-perfect selections in indexed color work.
  • Great for selecting backgrounds or flat-colored areas quickly.
  • After selecting, invert ( Ctrl+Shift+I ) to select everything except that color.