# Color Gradient

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

**Field:** Design  
**Category:** Visual Communication  
**Also known as:** Gradient (Design), Gradient Fill, Color Blend

## Think of it like

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

## 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

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

## Example code

```css
background: linear-gradient(to bottom, #1e3a8a, #db2777);
```

The background blends from 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.

## Common mistake

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

## Three principles

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

## Related terms

- [Color Scheme](https://learn.benibix.com/term/design/color-scheme)
- [Analogous Colors](https://learn.benibix.com/term/design/analogous-colors)
- [Hue](https://learn.benibix.com/term/design/hue)
- [Lightness](https://learn.benibix.com/term/design/lightness)
- [Cascading Style Sheets (CSS)](https://learn.benibix.com/term/development/css)
- [Dithering](https://learn.benibix.com/term/design/dithering)

## Taught in

- [Color Psychology and Gradients](https://learn.benibix.com/learn/design-visual-communication/color-psychology-and-gradients): Color and Images, 4/13

![Two panels. On the left, the same sign drawn twice, one labelled red and reading STOP, one labelled green and reading GO, over a note that the color carries a learned meaning. On the right, a strip that blends from one color to another along a straight line, marked linear, and a circle that blends from its center outward, marked radial, each with small dots for its color stops.](https://learn.benibix.com/diagrams/des3-color-mood-gradient.svg)

---

Source: https://learn.benibix.com/term/design/color-gradient
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
