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.
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.
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.
When to Use No Grow
Section titled “When to Use No Grow”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.
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
Section titled “Sample”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.
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.
Contiguous
Section titled “Contiguous”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.
Click a blue dot with Contiguous on, then turn it off and click the same dot again.
Tolerance
Section titled “Tolerance”Tolerance sets how different a color can be from the one you click and still get filled.
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%.
Erasing a Fill
Section titled “Erasing a Fill”Turn on Eraser to remove an area instead of filling it. To remove a fill completely, use the same Grow you filled with.
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.
Settings
Section titled “Settings”| Setting | What it does |
|---|---|
| Opacity | Makes the fill more or less transparent. |
| Tolerance | Sets how different a color can be and still get filled. See Tolerance. |
| Sample | Sets which layers the bucket looks at to find the area: All (default), Active, or Above. See Sample. |
| Grow | Grows the filled area by 0 to 7 pixels. See Grow. |
| Contiguous | On (default): fills only the connected area you click. Off: fills every matching pixel on the canvas. See Contiguous. |
| Eraser | Erases 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.
Fix Leaking Fills
Section titled “Fix Leaking Fills”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.