is a two-dimensional graphics directive specifying that faces of polygons and other filled graphics objects are to be drawn using concentric circles of colors coli.

uses the colors coli at radii ri.

radiates from the center point {x,y}.

radiates from the center point {x,y} in concentric axis-aligned ellipsoids with semiaxes length proportional to ri.

uses the specified padding when drawing beyond the boundary radii r1 and rn.

# Details

• RadialGradientFilling is typically used to fill a region with a range of position-dependent colors.
• RadialGradientFilling[{col1,col2,,coln}] specifies a progressive transition between coli using concentric circles from the center of the bounding box of a graphic object.
• is effectively equivalent to .
• RadialGradientFilling[{r1,r2,,rn}{col1,col2,,coln}] specifies colors coli to use at the scaled radius ri taken to be relative to the width of the graphic object.
• ImageScaled can be used to specify the radii ri and is taken to be fractions of the whole image region.
• RadialGradientFilling[,{x,y}] specifies the center point {x,y} of the concentric circles and it is taken to be coordinates scaled to run from 0 to 1 across the bounding box of a graphic object.
• RadialGradientFilling[,{{x,y},{r1,r2}}] specifies the semiaxes length proportional to ri of the concentric axis-aligned ellipsoids.
• Possible settings for padding include:
•  "Fixed" repetitions of the colors "Periodic" cyclic repetitions of all the colors "Reflected" reflections of the colors

# Examples

open allclose all

## Basic Examples(3)

Plot a vector field with background gradient color indicating the vector magnitude:

## Scope(12)

### Basic Uses(6)

Apply gradient filling to graphics primitives:

Apply gradient filling to a plot:

Apply gradient filling to a chart:

Style a geometric region:

Show a schematic outline map:

Summary box:

### Specifications(6)

LinearGradientFilling with no arguments draws a progressive transition from Black to White:

Use a custom color sequence:

Specify the scaled position of each color:

Scaled positions are taken to be relative to the width of the graphic objects:

Specify color positions by fractions of the whole image:

Use predefined color scheme from ColorData:

Specify the center of the concentric circles:

Specify semiaxis:

## Applications(8)

### Basic Applications(2)

Show gradient colors with different center points:

Along the axis with :

Along the axis with :

Along the diagonal:

### Basic Applications(3)

Show gradient colors and their positions:

Progressive transition between colors at 0 and 1:

Colors at midpoints:

Colors at random positions:

Different angles:

Collection of gradient colors in ColorData:

Collection of gradient colors in the Wolfram Data Repository:

Collection of hue colors in the Wolfram Data Repository:

Reverse the order of the colors: