How to Keep Color Inside the Lines Procreate
StyleFrame Team7 min read
To keep color inside the lines in Procreate, put the paint on a layer that is constrained by the line art or shape layer beneath it. The three most reliable ways are Alpha Lock (paint only where pixels already exist), a Clipping Mask (a separate layer that paints only where the layer below has content), and a Reference layer with ColorDrop (fill closed line art, then paint over the fill). Pick Clipping Mask when you want to edit or recolor freely later, and Alpha Lock when you want a quick, self-contained result.
Which method should you use?
All of these work on the same principle: don't paint on the same layer as the boundary. As soon as your color and your edge share one layer, the eraser becomes your only safety net.
Method 1: Alpha Lock
Alpha Lock restricts painting to pixels that already exist on that layer. It is the fastest way to stay inside a filled shape.
- Put your shape on its own layer. It can be a flat silhouette in any color.
- Swipe two fingers to the right across that layer in the Layers panel. A checkerboard pattern appears on the thumbnail, showing Alpha Lock is on.
- Paint anything you like. Strokes only land where the shape has pixels.
The catch is that the painted color is now part of that layer. If you later want to move the shape, change the base hue, or remove the shading, you are working with merged pixels. Use Alpha Lock when the shape is final or when you're duplicating the layer first as a backup.
Method 2: Clipping Mask
A Clipping Mask is the more flexible option. A new layer sits above the shape layer and only shows where the layer beneath has content.
- Make a new layer directly above your shape layer using the + button.
- Tap the new layer and choose Clipping Mask.
- Paint on the clipped layer. Anything outside the shape is hidden, not erased.
Because the paint is on its own layer, you can change opacity, switch blend modes, recolor, or delete the whole thing without touching the base shape. You can stack several clipped layers for base color, shadows, highlights, and texture, all contained by the same silhouette.
Method 3: Reference layer + ColorDrop
If you are coloring line art rather than flat silhouettes, this method keeps the lines clean and the fills separate.
- Draw your line art on its own layer. For a perfectly straight line, hold at the end of the stroke and Procreate snaps it straight.
- Set that layer as Reference. Tap the layer and choose Reference. ColorDrop will now read the line art when filling, even though you're working on a different layer.
- Add a new layer below or beside it for color. Keep the line art above if you want lines visible.
- Drag a color from the color wheel into a closed area. ColorDrop fills up to the lines on the Reference layer.
- Turn on Alpha Lock for the color layer and paint shading and variation. Strokes can only land where the fill exists.
To color two regions in different palettes, such as blues on one side of a line and reds on the other, use a separate layer for each region. Fill each with a base color via ColorDrop, Alpha Lock each layer, then paint freely. Neither color can cross the dividing line because each layer only contains its own fill. When you're done, merge the layers down if you want a single color layer, or leave them separate for flexibility.
This approach also works for shape outlines: put the outline on a Reference layer and color the inside of the shape on another.
Fixing ColorDrop leaks
If a fill escapes into the rest of the canvas, there is a gap in your line art. Close the gap: zoom in and draw a small line to seal the opening, ideally on the line art layer.
Method 4: Selection first, paint second
Selecting the area before painting is the most literal way to keep color inside a boundary.
- Choose the Selection tool.
- Select the area you want to color.
- Create a new layer and paint. Strokes are confined to the selection.
This is useful for irregular shapes where tracing a manual selection would be slow. Remember to deselect when you're done, or you'll wonder why nothing else will paint.
Method 5: Layer masks and cut-and-paste
Two more tools are worth knowing:
- Layer Mask. Add a mask to your paint layer to hide the overflow. Unlike erasing, you can restore hidden areas later.
- Cut and paste from a selection. Select a shape on the base layer, switch to the layer with your paint, and cut and paste. You've effectively carved the exact shape out of the painted layer onto its own new layer. This is handy for characters where you want a separate, pre-trimmed piece for each part.
Choosing based on how you'll edit later
The most common mistake is picking a method for how it feels now instead of how you'll revise it. Ask:
- Will the base color change? Use a Clipping Mask so the base is independent.
- Is this final, simple shading? Alpha Lock is fine and keeps your layer count low.
- Are lines closed and clean? Reference + ColorDrop will be the fastest.
- Do you need to hide, not destroy, overflow? Use a Layer Mask.
For anything that might get client notes, keep paint on separate layers and avoid merging until the end.
Preparing Procreate art for After Effects
For motion designers and animators, the real goal is often not a finished illustration but clean, separated assets. A few habits help:
- Keep each element on its own layer (or a small group), so you can animate pieces independently in After Effects.
- Export as a layered PSD and check how clipping masks, blend modes, and masks arrive in After Effects. If something doesn't translate the way you expected, merge the clipped layer into its base before export, or export a PNG with transparency for that element.
- Name your layers. "Layer 47" is a bad day later.
- Work at the final resolution or higher. Scaling up hand-painted art in a comp softens edges, and contained edges are where that softness shows first.
- Avoid hard-baked shadows on the base layer if you plan to relight or recolor in comp.
Where Styleframe fits in an illustrated pipeline
Procreate is where many artists build the controlled, hand-made part of a look: clean keyframes where every color stays inside the line. Styleframe is an AI video and motion tool that can help carry that look into motion. As with any generative tool, check the results frame by frame, especially edges and fills, before you commit them to a final comp.
Quick troubleshooting
- Paint still goes outside the shape: you're probably on the wrong layer. Check that Alpha Lock is active (checkerboard thumbnail) or that the layer is set as a Clipping Mask.
- Clipped layer shows nothing: the layer below may be empty or have very low opacity in that area.
- ColorDrop fills the whole canvas: the line art has a gap, or the Reference layer isn't set.
- Edges look jagged: zoom in while painting and check your selection edge.
- Colors shift after export: check that the document's color profile matches what your compositing software expects.
Once you understand that containment comes from layer structure rather than from a steady hand, the rest is choosing which structure suits the job. For most professional work, that means a clipping mask for flexibility, Alpha Lock for speed, and a Reference layer for clean line art.