> For the complete documentation index, see [llms.txt](https://plugin-everything.gitbook.io/textbox-3/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://plugin-everything.gitbook.io/textbox-3/gradient.md). Agents can also search and read this documentation through its [MCP server](https://plugin-everything.gitbook.io/textbox-3/~gitbook/mcp).

# Gradient

Open `Gradient` and choose a `Fill Mode`. The palette supplies the colors, and `Gradient Transforms` places them on the shape. Open a collapsed palette with its disclosure arrow, or click the selected gradient icon again.

| Option    | What it does                                                          |
| --------- | --------------------------------------------------------------------- |
| `Mono`    | Uses the solid color from `Style` > `Fill Color`. This is the default |
| `Linear`  | Blends colors along a straight line                                   |
| `Radial`  | Blends colors outward from a center point                             |
| `Conical` | Sweeps colors around a center point                                   |
| `4-Point` | Blends four colors from the corners of a rectangular field            |

![Examples of Mono, Linear, Radial, 4-Point, and Conical fills on rounded rectangles and polystars](https://2212598254-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPLt7YHNhS6MSt0M16yDW%2Fuploads%2FtA8BEIp480409eAvkzcH%2Fgradient-modes.png?alt=media)

Use `Expression Controls` > `Fill Mode` to keyframe the mode or drive it with an expression. [Animate modes or link them to other controls](https://plugin-everything.gitbook.io/textbox-3/expression-controls.md).

## `Gradient Palette`

`Linear`, `Radial`, and `Conical` share a palette of stops. Each stop has a color, a position, and an opacity.

1. Click an empty spot on the stop track to add a stop
2. Double-click a stop to choose its color in the After Effects color picker
3. Drag the stop horizontally, or select it and enter a precise percentage in `Point Location`
4. Set `Point Opacity` for the selected stop. Use 0% at one end to fade the fill to transparency

To remove a stop, drag it away vertically from the track. The palette keeps at least two stops. Choose an option in `Gradient Presets` to replace the current stops with a starting palette. `Style` > `Fill Opacity` controls the overall fill, including any fade from the stop opacities.

<details>

<summary>Palette buttons</summary>

* `← Shift` and `Shift →` move the colors between stops in the selected direction, wrapping at the ends
* `Reverse` reverses the order of the colors while keeping the stop positions
* `No Mirror` and `Mirror` toggle a forward-and-back version of the ramp, useful for seamless repeats
* The color space button cycles through `RGB`, `HSL`, and `OKLAB`. `OKLAB` is the default. The color space changes how colors blend between stops

</details>

## `4-Point Palette`

Double-click any corner handle to assign a color. The four handles stay at the corners. Use `Rotate L`, `Rotate R`, `Flip H`, or `Flip V` to rearrange the colors. Keyframe the palette to animate the four corner colors together. Switching to a different fill mode keeps both palettes available for later edits.

## `Gradient Style`

| Control                           | What it does                                                                                                        |
| --------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| `Gradient Cycle`                  | Shifts the ramp along its path. With `Wrap Cycles` on, each full 360° turn returns to the same phase                |
| `Hue Shift`                       | Rotates the hue of the palette colors                                                                               |
| `Blend Amount`                    | Sets the width of the color transitions. At 0%, a ramp displays hard steps and `4-Point` shows four solid quadrants |
| `Gradient Repeat`                 | At 1 the ramp uses its original span. Higher values fit more repeats into the field with `Wrap Cycles` on           |
| `Gradient Bounds` (`Wrap Cycles`) | Continues the ramp with repeated copies when it shifts or repeats                                                   |

`4-Point` uses `Hue Shift` and `Blend Amount` to style its four-corner blend.

## `Gradient Gamma`

Use `Gamma Mode` to adjust how bright the blended colors appear.

| Option   | What it does                                                                      |
| -------- | --------------------------------------------------------------------------------- |
| `Auto`   | Uses the detected project working-space gamma when available. This is the default |
| `Custom` | Uses `Gamma Factor` to adjust the blend. At 0% the correction is neutral          |
| `Off`    | Uses no gamma correction                                                          |

The readout shows the scene gamma and the correction `Auto` applies. If detection is unavailable, `Auto` uses no correction.

## `Gradient Transforms`

`Gradient Angle` sets the direction of a linear gradient, the starting ray of a conical gradient, or the rotation of the `4-Point` field. At 0°, a linear gradient runs left to right and a conical gradient starts on the right. Positive angles rotate clockwise.

`Gradient Center X` and `Gradient Center Y` position the gradient within the shape's bounds. Both default to 50%. `Gradient Scale` changes the size of the color field for `Linear`, `Radial`, and `4-Point`. With `Wrap Cycles` on, `Gradient Repeat` controls how often the ramp repeats within that field. At 100%, `Linear` spans the shape's width, `Radial` reaches its final stop at half the bounds' diagonal, and `4-Point` spans the width and height. Each [Multi Shape](https://plugin-everything.gitbook.io/textbox-3/multi-shape.md) group gets its own gradient field.

A `Conical` fill can show a seam where the first and last colors meet. At the default cycle and repeat settings, match the colors at the two ends or turn on `Mirror` for a continuous transition.

In `Speech`, the gradient is sized to the bubble body by default and still paints the tail. Turn on `Include Tail in Gradient` to fit the gradient to the body and tail together.

To use the same palette on the outline, open `Stroke` > `Stroke Style` and set `Inherit Fill Style` to `Color` or `Color & Opacity`. [Style a stroke](https://plugin-everything.gitbook.io/textbox-3/stroke.md).
