Skip to content
BENIBIX Learn

Color Gradient

Also known as Gradient (Design), Gradient Fill, Color Blend

A smooth blend from one color to another, with no hard edge.

Think of it like

It is like a sunset. The sky slides from orange to purple with no hard line.

Example

A music app fills its back screen with a gradient. It goes from deep blue at the top to pink at the bottom.

Why it matters

A gradient adds depth and life to a flat surface without a single picture.

Definition

A color gradient is a smooth blend from one color to another. A linear gradient runs along a straight line, like top to bottom. A radial gradient spreads out from a center point, like a glow. The colors it passes through are called color stops. Gradients add depth and mood, and they are common in buttons, backgrounds and logos.

Example code

css
background: linear-gradient(to bottom, #1e3a8a, #db2777);
The background blends from blue at the top to pink at the bottom.
On the right, one gradient runs along a line. The other glows out from the middle.

Common mistake

Putting text on a busy gradient. Part of the text loses contrast and becomes hard to read.

Key takeaways

  1. 1
    Linear or radial. Along a line, or out from a point.
  2. 2
    Color stops. The colors it passes through.
  3. 3
    Mind the text. Keep contrast across the whole blend.

Learn it properly