IDMAA PaintClassic Paint in your browser, with step-by-step guides

How to Change Eraser Size and Use the Color Eraser in Paint

The eraser in Paint sits in the tool box under the name Eraser/Color Eraser. The left mouse button erases, and the right mouse button turns it into a Color Eraser that swaps a single color for another and leaves everything else alone. This guide covers both, along with how to make the eraser bigger or smaller, how to erase to a color other than white, and what changes when the picture is transparent.

Erase part of the picture by dragging the left mouse button

The left button is the plain eraser. The eraser is a square that you drag across the canvas.

  1. Click Eraser/Color Eraser in the tool box.
  2. Press and hold the left mouse button over the area you want gone.
  3. Drag across it. Fast drags still erase a continuous line.
  4. Let go of the button when the area is clear.

Make the eraser bigger or smaller

The eraser is always a square, and its size is measured in pixels. You can pick a preset or step through sizes from the keyboard.

Erase to a color other than white

On a normal, opaque picture the eraser doesn't truly remove pixels. It paints them with the secondary color, also called the background color, which is white until you change it. So if your picture has a blue background and you want erased areas to blend in, set blue as the secondary color before you start: right-click blue in the color box, the strip of colors at the foot of the window, then erase as usual. Anything you erase from then on turns blue instead of white.

Replace one color with the Color Eraser

Holding the right mouse button turns the same tool into the Color Eraser. Under the square, it checks each pixel and swaps a pixel for the secondary color only when it is an exact match for the primary (foreground) color. Pixels of any other color are skipped.

  1. Left-click the color you want to get rid of in the color box. That sets the primary color.
  2. Right-click the color you want in its place, so it becomes the secondary color.
  3. Click Eraser/Color Eraser in the tool box.
  4. Hold the right mouse button and drag over the area.
  5. Expect only exact matches to change, transparency included: a shade that looks close to the primary color but differs even slightly is left as it is. The color that goes in is exact too, since the tool uses the secondary color precisely as you chose it, including its transparency.

Erase to transparent instead of a color

In Transparent mode, the plain eraser clears pixels completely and leaves holes in the picture. You can switch between Opaque and Transparent in Image > Attributes..., under Transparency. A file that has any see-through pixel opens in Transparent mode automatically.

Other ways to clear areas and undo mistakes

A few other ways to clear parts of a picture: