Find out how to achieve the gradient stroke in after effects. The main thing is to make the gradient following the path. You can’t accomplish this task with the effects or shape layers. But you can make it with Text Layer.
Alternative Exercise: A Gradient Fill with a Solid-Color Stroke
In this written example, Gradient Ramp colors the text. The layer style uses a single color from the ramp for its stroke.
- Create a new composition by going to “Composition” > “New Composition.” Set the desired dimensions and duration for your composition.
- Create a new text layer by going to “Layer” > “New” > “Text.” Type in your desired text.
- Select the text layer in the timeline panel and go to the “Character” panel to customize the text’s font, size, and other attributes.
- With the text layer selected, navigate to the “Effects & Presets” panel. Search for the “Gradient Ramp” effect and apply it to the text layer.
- In Effect Controls, adjust Start Color and End Color for the text fill.
- Select the text layer with Gradient Ramp applied.
- Choose Layer > Layer Styles > Stroke.
- In the Stroke settings, adjust the Size to determine the thickness of the stroke. You can also customize the color if needed.
- Alt-click (Windows) or Option-click (Mac) the Stroke Color stopwatch to add an expression.
- Use the expression pick whip beside the stroke’s Color property to select Start Color under Gradient Ramp.
- The stroke now uses the ramp’s Start Color.
- You can further customize the stroke by adjusting other properties in the Stroke settings, such as opacity, blending mode, and alignment.
- Preview the gradient fill and solid-color stroke.
For the gradient that follows the path, see the text-layer technique in the video above.
What is the Motion Beast course?
This is the must-see course for any Motion Designer. It lays the foundation for all aspects of modern motion design and covers every topic from AE basics to character rigging and frame by frame animation.
The course will help you overcome AE-related barriers and fears which are standing between you and the wonderful world of animation and motion design



