Picstea
DocsBlogOpen editor
  • Online photo editor
  • PSD editor
  • PNG editor
  • JPEG editor
  • WebP editor
  • Image resizer
  • Image compressor
  • Photo filters
  • Image converter
  • Blur a photo background
  • Make a background transparent
  • Add text to a photo
  • Make a photo black and white
  • Sharpen an image
  • Liquify a photo
  • Picstea vs Photoshop
  • Picstea vs Photopea
  • Picstea vs GIMP
  • Picstea vs Pixlr
  • Picstea vs Canva
  • Picstea vs Photoshop Express
FAQAboutDocumentationBlogPrivacyCookiesTermsImprintAdvertising & sponsorship

© Picstea — Edit Boldly. Create Freely. Images are edited on your device and never uploaded.

  1. Home
  2. Blog
  3. Colour a line drawing with the Paint Bucket

Colour a line drawing with the Paint Bucket

By Siavash Ghanbari · Published 22 Nov 2026

To colour a line drawing in Picstea, open the scan, add a new layer with Layer → New → New Layer and set its Blend to Multiply in the Properties panel. Then pick the Paint Bucket (Shift+G), tick Sample all layers in the options bar and click inside each shape. The fill stops at the lines but lands on the new layer, so the sketch stays untouched. Pick colours from the Swatches panel and export a PNG when you're done. The drawing stays on your device the whole time; nothing is uploaded.

The example in this post is a pencil-and-ink sketch of a fox, scanned on a home printer. It should end up as a flat-coloured sticker with orange fur, a white chest and a green background, using the same four colours every time the fox is redrawn.

How do I prepare the scan?

Open the scan in the Picstea editor with File → Open Image… or by dropping it on the window. It opens as one unlocked pixel layer named after the file. Scanned paper is rarely pure white and pencil lines are rarely pure black. A grey paper texture can stop a fill halfway across a shape. A Levels adjustment layer that pulls the white point in and the black point up cleans most scans; the Levels and Curves post explains the sliders. If you want hard black lines with no grey at all, a Threshold layer does that, as shown in the stencil post.

Next, look for gaps. The Paint Bucket floods every touching pixel of a similar colour, so a one-pixel break in an outline lets the colour run out of the fox and into the background. Zoom in, select the drawing layer, choose the Pencil (N) and close the breaks with black. Its hard edges suit line repairs.

Why put the colour on its own Multiply layer?

Select the drawing layer and press Cmd/Ctrl+Shift+N. The new empty layer goes above the active one. Rename it "Colour" by double-clicking its name, then set Blend to Multiply in the Properties panel.

Multiply darkens what is underneath and never lightens it, so black lines stay black where colour covers them and the pencil shading in the scan shows through the flat colours. You can also repaint, erase or delete the colour layer without touching the drawing, or hide it with its eye icon to compare. The layers docs list the other blend modes.

How do I set up a colour palette in Swatches?

Choose Window → Swatches. The panel shares a tab strip with History and Actions and starts with a default palette of 30 colours. Click a swatch to make it the foreground colour, or Alt-click it to make it the background colour.

To add the fox's own colours, click the foreground colour square at the bottom of the toolbar. The colour picker has a hue slider, a colour field and exact Hex, RGB and HSB values. Type the orange's hex code, click OK and press Add Foreground in the Swatches panel. Do the same for the white, green and a dark brown for the nose. To remove a swatch, focus it and press Delete; Reset brings back the default palette.

Swatches are saved in this browser and are not part of the document, so the palette is there the next time you colour a fox, in any file. The list holds up to 300 swatches.

How do I fill each area with the Paint Bucket?

The Paint Bucket shares a toolbar slot with the Gradient tool. Press G for the Gradient and Shift+G to switch to the bucket, or right-click the slot to pick it from the flyout. With the Colour layer active, the options bar shows three settings:

  • Tolerance (0 to 255, default 32): how far a pixel's colour can be from the one you clicked, measured as the largest difference in any of red, green or blue. Higher values fill further into grey edges.
  • Contiguous (on by default): fill only pixels connected to the click. Turn it off to fill every matching pixel in the image.
  • Sample all layers (off by default): read the visible image instead of the active layer. Turn this on here. The Colour layer is empty, so without it the bucket sees one big transparent area and fills the whole layer.

Click the orange swatch, then click inside the fox's body, tail and ears. Switch to white for the chest and green for the background. The bucket respects selections, so if a shape won't close cleanly you can draw a lasso around it first and the fill stays inside. It only works on unlocked, visible pixel layers; on a text, shape or fill layer it asks you to add a pixel layer first.

Why is there a light edge between the colour and the lines?

Scanned and digital lines both have soft edges: a few pixels of grey between the black and the paper. At the default Tolerance of 32 the fill stops before those grey pixels, so a thin pale rim shows inside every outline. Picstea's Paint Bucket has no anti-alias option, so its fills have hard edges.

There are two ways to close the rim:

  1. Undo the fill, raise Tolerance and click again. The fill reaches further into the grey. Too high a value and it leaks through faint lines.
  2. Select the area instead. Press W for the Magic Wand, which has the same Tolerance, Contiguous and Sample all layers options, and click inside the shape. Choose Select → Modify → Expand… and grow the selection by 1 or 2 pixels so it tucks under the line. With the Colour layer active, choose Edit → Fill with Foreground (Shift+F5), then deselect with Cmd/Ctrl+D.

With the second method the colour slides under the black line, and Multiply keeps the line black on top of it. The selections docs cover Expand, Contract and Feather, and painting and fills covers the bucket and Edit → Fill.

How is this different in Photoshop and GIMP?

Photoshop's Paint Bucket has the same Tolerance, Contiguous and All Layers options, plus an Anti-alias checkbox that smooths the edge of the fill. Picstea doesn't have that checkbox, so the Expand method above is how you get fills that meet the line.

GIMP's Bucket Fill has a Fill by line art detection mode built for exactly this job. It finds areas bounded by line art and can close small gaps in the lines on its own, with a setting for the largest gap it will close. Picstea has no automatic gap closing, so you close breaks yourself with the Pencil before filling. For a lot of comic pages that GIMP mode saves real time. For the odd sketch, Picstea runs in a browser tab with no install and keeps layers, masks and PSD files in the same place. The GIMP comparison and the Photoshop comparison go into the wider differences.

How do I add shading and export the result?

For simple shading, add another layer above Colour and choose Layer → Create Clipping Mask (Cmd/Ctrl+Option/Alt+G). A clipped layer only shows where the layer below has pixels, so brush strokes can't spill outside the fox. Set it to Multiply and paint with a darker orange.

To keep the layers for later, choose File → Save Project As… to save a .picstea file. For the finished sticker, choose File → Export As… and pick PNG.

Questions people ask

Can I fill several areas of the same colour at once?

Yes. Turn off Contiguous and click one of them. Every pixel within the Tolerance of the clicked colour is filled, across the whole image. It is a quick way to change all the orange to red after the first pass.

Why did the bucket fill the whole layer?

Sample all layers is probably off, so the bucket read the empty Colour layer instead of the drawing. Undo, tick the option and click again. A gap in the outline has the same effect on the shape it leaks out of.

Are my swatches saved in the project file?

No. Swatches are stored in this browser and shared by every document you open in it. A different browser or device starts with the default palette.

Can I colour line art drawn on a transparent layer?

Yes. Keep Sample all layers on so the bucket reads the lines, and put the colour layer below the line layer instead of setting it to Multiply.

Open Picstea and colour your next sketch.

Siavash Ghanbari

Siavash Ghanbari

Siavash Ghanbari builds Picstea and explains technology on YouTube (SiaBarry).

SponsoredSponsor PicsteaReach people who create and edit images. Privacy-friendly, no tracking.

More guides

  • Remove halftone dots with the Fourier filters
  • Seamless textures: Picstea vs Photoshop and GIMP
  • How to add falling snow to a photo
SponsoredSponsor PicsteaReach people who create and edit images. Privacy-friendly, no tracking.