Make a Movable Gradient in After Effects with the Ramp Effect

Create a two-color gradient you can position and animate by applying After Effects’ Ramp effect to a solid and keyframing the ramp start/end points and colors.

What the video covers

Applies to creating and animating a simple two-color gradient using the Ramp effect in Adobe After Effects (CS6 through CC versions).

Watch the video on YouTube

Step-by-step instructions

  1. Create a composition and a solid
    Open or create the composition where you want the gradient. Add a new solid layer sized to your composition; this layer will hold the ramp.
  2. Apply the Ramp effect
    With the solid selected, apply the Ramp effect (the built-in two-color gradient). The layer will immediately display a gradient between two points.
  3. Set gradient colors
    Choose the two colors for the gradient by setting the Start Color and End Color controls on the Ramp effect to the colors you want.
  4. Position the ramp
    Move the Ramp Start and Ramp End points to place the gradient direction and spread where you need it in the frame. These are 2D positions you can drag in the Comp panel or edit numerically.
  5. Animate the gradient (optional)
    To make the gradient movable over time, enable keyframes for the Ramp Start and/or Ramp End properties and set different positions at different times. You can also keyframe the Start/End Color to animate color changes.
  6. Refine appearance
    Adjust interpolation (if available) or add effects like a subtle blur or noise to reduce banding. Use layer opacity or blending modes to combine the gradient with other layers.

Watch the video

Video thumbnail for Make a Movable Gradient in After Effects with the Ramp Effect Play tutorial

Watch on YouTube

Why it matters

Gradients are useful for colorful backgrounds, transitions, and visual interest. The Ramp effect offers a simple, efficient way to create a two-color gradient that you can position and animate.

Check your result

You should end with a solid layer showing a two-color gradient whose start and end positions (and/or colors) can be moved or animated over time.

Troubleshooting

If the gradient looks banded, try changing the composition bit depth or adding a slight blur. If keyframes don’t animate, verify you enabled keyframing for the property you changed (start/end positions or colors). If you don’t see the Ramp effect, confirm you applied it to a layer that can display color (for example, a solid).