Skip to content

When Tap-to-Fill Leaks: Fixing a Fill That Went Everywhere

A diagnostic order for the four ways a tap-to-fill goes wrong, and how to recover with undo, the two erasers and zoom instead of restarting the page.

By Published 6 min read

Reign Creative LLC makes Anime Coloring Book: Paint Art, which this article links to, so we have a commercial interest in it. How we write and check articles.

Key takeaways

  • A fill that escapes into the rest of the drawing is almost never a broken tool; it is a gap in the outline, and the gap is usually a single pixel wide at a hair tip, a fingertip or a place where two lines nearly meet.
  • Undo is the first move in every one of these situations, because it is the only recovery that costs nothing, and hunting for the gap before undoing just leaves the wrong colour on screen while you look.
  • Diagnose before you repair: a leaked fill, a fill that stopped short, a pale seam and a fill that landed on the wrong region all look similar at arm's length and need different fixes.
  • The artwork eraser and the background eraser do different jobs, and reaching for the wrong one is the most common way a small mistake turns into a large one.
  • Zoom is a diagnostic instrument before it is a detail instrument, and what looks like a gap at high magnification is sometimes display smoothing rather than a real break in the line.

A fill that floods the whole drawing is not a broken tool. It is a gap in the line art, and the repair takes about thirty seconds once you know where to look. The same is true of the three other ways a tap-to-fill goes wrong. What follows is a diagnostic order for all four, written for the moment you are staring at a ruined page and deciding whether to start it again.

Most coloring advice is about doing things well. Very little of it is about recovery, which is a shame, because a flooded fill is one of the most common reasons a beginner closes a piece and never reopens it.

Undo first, diagnose second

The instinct is to work out what happened before touching anything. Resist it. Undo is the only recovery that costs nothing and restores the page exactly, and every second you spend investigating is a second the wrong colour stays committed.

This is a general interface principle rather than a coloring one. The Nielsen Norman Group lists user control and freedom among its ten usability heuristics precisely because people act by mistake constantly and need a clearly marked exit that does not require an extended process. Undo is that exit. Use it, then investigate a page that looks the way it did before the mistake.

If undo is unavailable because the fill has already been committed, skip to the repair sections below. But try it first, every time.

Name the failure before you fix it

Four things go wrong with a fill, and at arm's length they look similar. They need completely different responses.

The fill escaped. You tapped inside the hair and the whole background changed colour. The region is not closed.

The fill stopped short. Your colour sits inside the shape but a thin pale line survives between it and the outline. This is anti-aliasing, not a fault.

The fill landed in the wrong region. The colour went where you tapped, but where you tapped was not the region you meant, usually because two shapes meet at a point too small to distinguish at the zoom level you were working at.

The fill covered something you wanted. You filled over an area you had already detailed by hand, and the detail is gone underneath.

Work out which one you have before reaching for a tool. The first three have cheap fixes. Only the fourth genuinely costs you work, and only when undo is gone.

A leaked fill means a gap, and the gap is tiny

A fill spreads outward from the point you touched across connected pixels that match, and halts at anything that does not. That is the whole mechanism, and it explains the failure completely: if the outline enclosing your region has a single-pixel break anywhere along its length, the spread passes through it and keeps going.

The break is almost never in the middle of a long clean line. Check these places, in this order:

  1. Hair tips and the ends of tapered strokes, where the artist thinned a line to nothing and the last pixel or two fell below full opacity.
  2. Fingers, ribbon ends and any narrow shape where two lines converge at a sharp angle.
  3. Places where two lines nearly touch but do not, which read as closed at normal size and are visibly open at high zoom.
  4. Deliberate openings, because some line art styles leave outlines broken on purpose for a lighter look.

Close the break with the brush at the smallest size that reaches across it, then fill again. The brush stroke will be invisible at viewing size. This is worth doing even if you are not going to fill that region immediately, because the gap does not heal on its own.

The mechanism behind the pale seam, and the reason a fill can leave a halo even in a perfectly closed shape, is covered in more depth in our guide to digital coloring techniques. The short version is in the next section.

The pale seam is rendering, not damage

Smooth-looking lines are drawn with partly transparent pixels along their edges so the line does not look like a staircase. The W3C's SVG specification describes this in its rendering properties: the shape-rendering property exists partly so an author can request crisp edges by turning anti-aliasing off, which tells you it is on by default nearly everywhere else.

A fill replaces pixels that match what you tapped. Those semi-transparent blend pixels do not match, so the fill stops one step short of the line and leaves a ring of the original blend colour. Against a pale fill it reads as a visible seam. Against a dark fill it is nearly invisible.

Three responses, in order of how often they are the right one:

  • Leave it. At the size a phone displays the finished page, most seams disappear.
  • Brush over it. Zoom in, pick the same colour, and run a small brush along the inside of the outline.
  • Bias the region darker. If you know an area will show its edges, choosing a darker colour for it hides the seam without any extra work.

Two erasers, and reaching for the right one

A coloring app that gives you both an artwork eraser and a background eraser is giving you two different repairs, and the distinction matters most in exactly the situation this article is about.

Anime Coloring Book: Paint Art, which is our own app, built by Reign Creative, ships both alongside the fill and the brush. The artwork eraser is for colour you put on the drawing: a brush stroke in the wrong place, a fill inside a region you now want back. The background eraser is for colour that has spread outside the figure into the space around it, which is precisely what a leaked fill produces.

Using the artwork eraser to clean up a background leak works against you. You end up erasing along the outside edge of the line art, and because those edge pixels are the semi-transparent ones described above, you thin the outline as you go. A slightly ragged line is a much harder thing to repair than a background with the wrong colour in it.

Zoom is a diagnostic instrument

Finding a one-pixel gap at the zoom level you were coloring at is not realistic. Zoom is how you find it, and the panning and centring controls are how you get back afterwards.

There is a subtlety worth knowing. When an image is scaled up for display, the pixels are usually smoothed rather than shown as hard squares. MDN's documentation for the canvas imageSmoothingEnabled property describes the default behaviour plainly: enlarging blurs the pixels unless smoothing is deliberately switched off, which is why pixel-art tools turn it off. So a boundary can look soft, doubled or broken at high magnification when the underlying line is solid, and a real gap can also look wider than it is.

The practical rule: zoom in far enough to see the break, but judge whether you have closed it by zooming back out. Our piece on line art and flats covers the same discipline from the other direction, when you are laying colour rather than repairing it.

A repair order that works

When a fill has gone wrong and undo is not available:

  1. Refill the invaded area with the colour it should have been, if it was a large flat region. This is faster and cleaner than erasing.
  2. Switch to the correct eraser for anything the refill cannot reach, and work at a brush size small enough to stay off the outline.
  3. Close the gap that caused it, so the next fill into that region behaves.
  4. Zoom out and look. Half the damage you were about to repair turns out to be invisible at viewing size.

Preventing the next one

Fill the largest regions first, while a mistake is cheapest to undo and while you still have a mostly blank page to compare against. Save hand-detailed work until after the flats are down, so a stray fill never lands on top of something that took ten minutes. And when you meet a region with a known gap, close it once rather than working around it.

Other pieces in our anime and creative games section deal with the choosing side of coloring rather than the fixing side, and the guide to coloring anime line art on a phone is the natural place to start if the tools themselves are still unfamiliar.

Good to know

Frequently asked questions

Why did the fill tool colour my whole picture?
Because the region you tapped is not closed. A fill starts at the point you touched and spreads outward across every connected pixel that matches, stopping only when it meets something that does not match. If the outline around that region has a break anywhere, even one pixel wide, the fill passes through it and keeps spreading into whatever lies beyond. Undo, find the break at high zoom, close it with the brush, and fill again.
Can I fix a leaked fill without starting the page over?
Usually yes. Undo is the cheapest and most complete fix, so try it first. If the fill is already committed and undo is not available, the next option is to refill the escaped area with the colour it should have been, which works well when the invaded region was a large flat area, then clean the boundary with the brush. Starting again is a last resort rather than a first response.
What is the difference between the eraser and the background eraser?
The ordinary eraser removes colour you have applied to the artwork, which is what you want when a brush stroke or a fill went somewhere it should not have. A background eraser targets the area behind and around the artwork rather than the drawing itself, which is what you want when colour has spread outside the figure. Using the artwork eraser on a background problem tends to nibble away at the line art, and a thinned outline is harder to repair than the original mistake.
Why did my fill stop before it reached the outline?
The line art is anti-aliased, meaning the edge pixels of every line are partly transparent blends rather than solid black. A fill replaces matching pixels and those blend pixels do not match, so it halts just short and leaves a thin pale seam. This is normal rendering behaviour rather than a fault. Run the brush along the seam at high zoom if it bothers you, or leave it, because at ordinary viewing size it is usually invisible.

Sources

  1. Painting: Filling, Stroking and Marker Symbols (shape-rendering) (opens in a new tab)World Wide Web Consortium (W3C), SVG 1.1 Second Edition — accessed
  2. CanvasRenderingContext2D: imageSmoothingEnabled property (opens in a new tab)MDN Web Docs, Mozilla — accessed
  3. 10 Usability Heuristics for User Interface Design (opens in a new tab)Nielsen Norman Group — accessed

About the author

— The independent app studio that builds the apps covered on this site and publishes every article here. On Google Play it publishes as Reign Collective Apps.

We use AI tools to help research, draft and edit our articles. Each article lists the sources its factual claims rely on, and details about our apps come from their live Google Play listings. No article on this site has been reviewed by an independent expert unless the reviewer is named on it.

Spotted an error? Tell us — how corrections are handled is set out in our editorial policy.