Images

Gradients

display smooth transitions between
two or more colors

Gradients #Color transition


CSS gradient is an image made of a progressive transition between two or more colors.

Gradients can be used in:

Useful: we can make our regular background darker (for text contrast) by adding a gradient image (with gray color/s) as the top background image, while the regular background is on the bottom (multiple background images).


There are 6 Gradient Types:

linear
gradient
repeating
linear
gradient
radial
gradient
repeating
radial
gradient
conic
gradient
repeating
conic
gradient

Where:

There are many online tools for gradient generation. See for example Gradient Generators.
See also Beautiful color gradients examples.