Imgix APIsRendering APIGradient and FadeGradient Alpha

Gradient Alpha

gradient-alpha

The gradient-alpha parameter sets the overlay’s opacity as a whole, from 0 to 100. It defaults to 100.

This is separate from the alpha built into each color. Use the colors’ own alpha to shape the gradient — where it is strong and where it is clear — and gradient-alpha to dial the finished overlay up or down without editing every color.

The default, gradient-alpha=100
sandbox-demo
gradient-alpha=40 lightens the whole overlay
sandbox-demo

Values outside the range are clamped. A non-numeric value is ignored. gradient-alpha is not read when gradient-mask is on.