Skip to content

Paint Bucket

The paint bucket (G) fills an area with the primary color. It’s especially useful for coloring line art.

You can try the paint bucket right here on this page. Click or tap a picture to fill it, and press Reset to start over.

Video: Paint Bucket (5:34)

Grow expands the filled area by the chosen number of pixels, so the color reaches under the soft edges of your lines and no light outline remains. Use 1 or 2 pixels for thin lines, more for thick, soft lines. The Grow dropdown is next to Sample in the bucket settings.

Hide the lines Lines
Colors
Background

The line art is on the “Lines” layer, and the fill goes onto the “Colors” layer below it. Fill one shape with Grow at 0 and look at the inside of the line: a light edge remains. Then set Grow to 2 and fill the other shape. Turn off the “Lines” layer to see the fills on their own: at 0, the color stops short of the lines, at 2 it reaches under them.

Grow is for soft lines on their own layer. Leave it at 0 when the edges are hard, as in pixel art, or when you fill on the same layer as your lines or right next to other colors. Grow would paint over them.

Drawing

Here the pixel art and the fill share a single layer. Fill one shape with Grow at 0: the fill is exact. Fill the other with Grow at 2: the color covers the outline.

Sample decides which layers the bucket looks at to find the area. The fill always goes onto the active layer.

  • All (default): all layers together, as you see them.
  • Active: only the active layer.
  • Above: only the layer directly above the active one.
Lines
Colors
Background

Here the “Background” layer at the bottom has a gradient, and you fill the “Colors” layer between the background and the line art. With All, the bucket sees the gradient, so it only fills part of the shape. Above only looks at the line art, so the whole shape gets filled. Active looks at the empty “Colors” layer and fills all of it.

With Contiguous on (the default), the bucket only fills the connected area you click. Turn it off to fill every matching pixel on the canvas, for example to change one color everywhere at once.

Drawing

Click a blue dot with Contiguous on, then turn it off and click the same dot again.

Tolerance sets how different a color can be from the one you click and still get filled.

Drawing

Start with Tolerance at 0 and click near the top of the shape: only pixels of exactly the clicked color get filled. Raise Tolerance and click again: more of the shading gets filled. Very high values even cross the gray outline. Kleki starts with 20%.

Turn on Eraser to remove an area instead of filling it. To remove a fill completely, use the same Grow you filled with.

Hide the lines Lines
Colors
Background

Both shapes were filled with Grow at 2. Erase one with Grow at 0: a colored edge stays under the line. Erase the other with Grow at 2. Turn off the “Lines” layer to see what’s left on the “Colors” layer.

SettingWhat it does
OpacityMakes the fill more or less transparent.
ToleranceSets how different a color can be and still get filled. See Tolerance.
SampleSets which layers the bucket looks at to find the area: All (default), Active, or Above. See Sample.
GrowGrows the filled area by 0 to 7 pixels. See Grow.
ContiguousOn (default): fills only the connected area you click. Off: fills every matching pixel on the canvas. See Contiguous.
EraserErases the area instead of filling it. See Erasing a Fill.

If something is selected, the bucket only fills inside the selection. To fill a whole layer or the whole selection, press Enter.

If color spreads into areas you didn’t intend to fill:

  • Lower Tolerance.
  • Check your line art for gaps. Even a 1-pixel gap lets the fill escape. Zoom in and close it with a small brush.
  • With Sample: Active on an empty layer, there’s nothing to stop the fill, so it covers the whole layer. Switch back to All.