Skip to content
Tutorials Center
My learning

Topics

Lesson 18 of 36 ยท Colour and Gradients

Gradients in Illustrator

Learn how to create and edit gradients in Illustrator: linear, radial and freeform types, the Gradient panel, stops and midpoints, the on-canvas annotator, and mesh basics.

A gradient is a smooth blend from one colour to another. Used with restraint, gradients add depth, light and polish; overused, they date a design. Illustrator offers four ways to create them, from a simple two-colour ramp to full control with meshes.

Creating a gradient

  1. Select an object.
  2. Open Window > Gradient (Ctrl/Cmd + F9).
  3. Click the gradient preview, or choose a gradient swatch in the Swatches panel, or press > with the fill active.
  4. Choose a type: Linear, Radial or Freeform.

Linear blends along a straight line, radial blends outward from a centre point in circles or ellipses, and freeform places colour points inside the shape that blend smoothly in any direction.

The Gradient panel

  • Gradient slider: the coloured bar with small squares (colour stops) under it. Click below the bar to add a stop; drag a stop off the bar to delete it.
  • Stop settings: select a stop, then pick its colour, Opacity and Location (position along the bar from 0 to 100%).
  • Midpoint diamonds above the bar control where the blend between two stops is halfway.
  • Angle (linear) and Aspect ratio (radial) rotate or squash the gradient.
  • Reverse gradient flips the order.
  • Stroke gradients: apply gradients along, within or across a stroke.

On-canvas editing: the Gradient Annotator

Press G for the Gradient tool. A gradient bar appears over the selected object:

  • Drag the start point to move the gradient.
  • Drag the end point to change the length and angle.
  • Click on the bar to add stops, double-click a stop to change its colour.
  • For radial gradients, an ellipse shows the radius and aspect, and you can move the focal point.

A gradient can be dragged across several objects at once if you apply it with the Gradient tool to all of them.

Opacity stops: fading to transparent

Set a stop's Opacity to 0% and the gradient fades out to nothing. This is the basis of fades, highlights and soft shadows. To blend against what lies below, make the colour of the transparent stop the same as the other stop so the fade does not pass through grey.

JS Stand-in: sampling a gradient

Press Run (or Ctrl + Enter) to see the console output here.

No output.

The 50% row returns the middle stop's exact colour: stops are anchors the blend must pass through.

Radial gradient distance

A radial gradient colours each point by its distance from the centre. For an ellipse, distance is measured after the aspect ratio is applied.

JS Stand-in: radial gradient values

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Points further out than the radius clamp to the last colour.

Freeform gradients

Switch the type to Freeform and choose Points or Lines. Click inside the shape to add colour points; each has a colour, and you can drag them to move or adjust their spread. This is ideal for soft, painterly backgrounds with no visible linear direction. Press Esc to finish.

Gradient Mesh

For photo-like realism, use Object > Create Gradient Mesh or the Mesh tool (U). A mesh divides an object into a grid; each mesh point can have its own colour, and colours flow between them. Meshes are powerful and heavy: they increase file size and are hard to edit. Prefer simple gradients and freeform gradients for most work. Mesh objects cannot easily be exported to SVG without being rasterised, depending on the destination.

Good gradient practice

  1. Use two or three well-chosen stops; more is rarely better.
  2. Keep brightness and hue changes gentle, or use similar hues for subtle depth.
  3. For print, check banding: smooth gradients on a press can show bands, so add slight noise or work in higher ink coverage if the printer advises.
  4. For web, SVG supports linear and radial gradients natively; freeform and mesh become images.
  5. Save favourite gradients as swatches.

Gradients are drawn in the document's colour mode. A CMYK gradient between two vivid colours can look dull in the middle. Insert an extra stop to steer the blend.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which key activates the Gradient tool?

    G is the Gradient tool, U is the Mesh tool.
  2. 2. What controls where the blend between two stops is halfway?

    Dragging the midpoint changes how quickly the colour transitions between stops.
  3. 3. How do you make a gradient fade to transparent?

    A stop with 0% opacity makes the gradient fade out at that point.
  4. 4. Which gradient type blends from colour points scattered inside the shape?

    Freeform gradients use colour points placed freely in the object.

Summary

  • Linear, radial and freeform gradients live in the Gradient panel; the Gradient tool (G) edits them on canvas.
  • Stops control colour and opacity; midpoints control blend speed.
  • Gradient mesh gives realism at the cost of complexity and file size.
  • Keep gradients simple, save good ones as swatches, and check them in the output colour mode.

Next: Point Type and Area Type in Illustrator