How to Do Rainbow Effect to Lines Procreate
StyleFrame Team8 min read
To get a rainbow effect on lines in Procreate, build a custom brush in Brush Studio and open its Color Dynamics settings. Push Stroke Color Jitter hue to about 99% and Apple Pencil Color Pressure hue to its maximum, then set stroke spacing to zero so the line stays continuous. If you want precise control over where each color lands, draw the line in one color, turn on Alpha Lock, and fill it with a gradient or color bands. You can also recolor finished line art with a Gradient Map adjustment.
Method 1: Build a rainbow brush with Color Dynamics
This is the fastest route. The color shifts as you draw, so there is no cleanup afterward.
- Open the Brush Library and tap the + icon to open Brush Studio. Duplicating a clean, simple brush and editing the copy is safer than editing a stock brush.
- Stroke Path: set Spacing to zero so stamps overlap into a smooth, unbroken line.
- Stabilization: raise Streamline to roughly 80%. This smooths wobble, which matters because a shaky line makes hue transitions look jittery.
- Shape (optional): swap the default circle for an oval from the source library if you want a flatter, calligraphic feel.
- Color Dynamics: this is where the rainbow comes from. Set Stroke Color Jitter → Hue to about 99%, then set Apple Pencil → Color Pressure → Hue to maximum.
- Name the brush, then test it on a blank canvas with a saturated color such as a pink or red.
What each setting actually does
- Stroke Color Jitter varies the color from one stroke to the next. Every new line starts at a different point on the hue wheel.
- Color Pressure ties hue to Apple Pencil pressure. At a low value, hue barely changes within a stroke. At maximum, small pressure changes sweep through a wide range of hues.
- Stamp Color Jitter randomizes hue per stamp instead. Combine it with wider spacing and you get a confetti-like or beaded rainbow line rather than a smooth one.
Because the within-stroke color depends on pressure, the result is expressive but not exactly repeatable. If you need an identical rainbow order on every line, use one of the methods below.
Method 2: Alpha Lock and a gradient fill
For a controlled, repeatable color order, draw first and color second.
- Draw your lines in any single color on their own layer.
- Swipe two fingers to the right on that layer (or tap the layer and choose Alpha Lock). Anything you paint now only affects pixels that already contain line art.
- Paint over the lines with your rainbow. Options include:
- A soft, large brush in stacked color bands (red, orange, yellow, green, blue, violet), then a Gaussian Blur or smudge pass to blend the seams.
- A pre-made gradient layer, merged down into the locked layer.
- A Gradient Map adjustment layer, if your version of Procreate includes it.
- Fill the lines in one pass so the color travels across the whole composition rather than restarting on each stroke.
This method suits logos, lettering, and neon-style linework where the order of colors matters. It also keeps the underlying drawing separate from the color treatment, so you can swap palettes later.
Method 3: Clipping mask for non-destructive color
If you want to change the rainbow without touching the lines, use a clipping mask instead of Alpha Lock.
- Keep the line art on its own layer.
- Add a new layer above it and choose Clipping Mask from the layer menu.
- Paint or place your gradient on the clipped layer. It only shows where the line layer has pixels.
- Move, rotate, or repaint the gradient layer to shift the colors across the lines.
- Experiment with blend modes on the clipped layer (Overlay, Color, or Screen) for different looks. Color keeps the underlying line values, while Screen gives a glowing, light-like result.
This mirrors how an adjustment or fill layer is matted to a shape in After Effects, and it is the best choice if your client might ask for "the same, but warmer."
Method 4: Recolor finished lines with an adjustment
When the drawing is done and you just want a rainbow treatment on top:
- Use Adjustments → Gradient Map (in versions that have it) on the line layer to remap tonal values to a rainbow ramp. Lines with varied pressure or opacity will map to different colors, which can look surprisingly organic.
- Use Adjustments → Hue, Saturation, Brightness to shift an existing colored line. This is useful for generating color variants fast, but it shifts all pixels uniformly and will not create a multi-color line on its own.
Method 5: Smudge-as-brush for painterly blends
Procreate users on the community forums have pointed out that the Smudge tool can act as a brush that carries several colors at once. Lay down a few colors side by side, then smudge-paint with a brush set to the Smudge tool. Each stroke drags multiple colors along together. It is less precise than Color Dynamics, but it gives a hand-painted, blended rainbow with natural variation.
Tips for clean rainbow lines
- Start saturated. Hue jitter works on the selected color. A desaturated or very dark base color produces muted results, so pick a vivid, mid-brightness swatch.
- Check your pressure curve. If the rainbow barely shifts, your Pencil pressure curve may be too soft. Adjust it in the brush's Apple Pencil settings or in the app's pressure curve preferences.
- Use a dark background for glow. Rainbow lines on near-black canvases look like light trails. Duplicate the layer, blur it, and set the copy to Add or Screen for a neon bloom.
- Keep layers separate. One layer for lines, one for glow, one for background. You will need this if the artwork is headed to motion.
- Export at a generous size. Work at a high canvas resolution and export a transparent PNG so you have room to scale in a compositing app.
Taking Procreate rainbow lines into motion
Procreate gives you a raster drawing, so moving it into a motion pipeline takes a few decisions.
Export. Save a transparent PNG per layer, or export frames if you animated in Procreate's animation tools. Keep lines, glow, and background as separate files.
Animate the color in After Effects. If you only need the color to flow, start with a single-color line layer and add the rainbow in AE:
- Apply Gradient Ramp on a solid above the line layer and set the line layer as an Alpha Matte. Animate the ramp's start and end points to slide the rainbow along the lines.
- Use Colorama on the line layer and animate its Phase Shift for a looping color cycle.
- Apply Hue/Saturation and drive Master Hue with an expression like
time * 120for a constant rotation. This works best on lines that already contain a saturated color. - Add a Glow effect after the color so the bloom picks up the cycling hue.
Redraw as vectors for write-on motion. Raster lines cannot be trimmed along their path. If the rainbow needs to draw on, trace the line as a shape layer in After Effects, add a Gradient Stroke, and animate Trim Paths. Use the Procreate drawing as a reference layer and keep its hand-drawn quality by adding a Wiggle Paths or Roughen Edges pass.
Nuke and 3D tools. The same logic applies in Nuke, where a Ramp node keyed through the line alpha and a HueShift node animated over time give you a controllable result. In Cinema 4D or Blender, import the transparent PNG as an emissive texture on a plane or use it as an alpha for a gradient material.
Where Styleframe fits for stylized line work
Hand-drawn rainbow lines are a great look frame, but extending that look across a moving shot is where it gets expensive. Styleframe is an AI video and motion tool built for artist control. Rather than a one-click generator, it works from reference images, video clips, and keyframes you supply.
- Restyle and Ink-and-Paint use reference-driven style transfer. You can feed in a Procreate frame with your rainbow linework and apply that look to footage or a render, with the reference steering the result.
- Frames-to-Video is keyframe-driven, so you can define a start and end frame, such as plain lines turning into a full rainbow treatment, and generate the motion between them.
The result can be brought into your existing After Effects or Nuke comp, where you can still apply glow, color management, and finishing. It is a complement to your Procreate drawing and compositing tools, not a replacement for them.
Quick decision guide
Start with the Color Dynamics brush to find the look you want, then switch to Alpha Lock or a clipping mask when the project needs consistency and revisions. If the final destination is motion, keep your layers separated and do the color cycling in your compositing app.