> ## Documentation Index
> Fetch the complete documentation index at: https://autorender.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Contrast

> Widen or narrow the gap between light and dark areas with the e_contrast token.

Contrast controls the gap between the light and dark areas of an image. Raise it for a bold, dramatic look; lower it for a softer, muted one.

Add the `e_contrast` token to the transform segment of any delivery URL:

```bash theme={null}
https://assets.autorender.io/LOKVTtKVGb/e_contrast:30/docs/example/porsche.jpg
```

<img src="https://assets.autorender.io/LOKVTtKVGb/e_contrast:30/docs/example/porsche.jpg" alt="Increased contrast" class="ar-url-image" />

## How does it work?

`e_contrast:{level}` takes a level from **−100 to 100**. Negative values compress the tonal range for a softer image, positive values expand it for a more dramatic one, and `0` leaves the image unchanged.

## When to use it

* Add punch to bold, striking images.
* Soften portraits with a lower level for a flattering look.
* Make product colors and edges stand out.
* Emphasize detail in landscape shots.

## How do you combine it with other effects?

Chain contrast with brightness and saturation in one comma-separated segment. We recommend levels between **20 and 40**, because higher levels crush shadows and blow out highlights (e.g. `e_contrast:25`).

```bash theme={null}
https://assets.autorender.io/LOKVTtKVGb/e_contrast:25,e_brightness:10,e_saturation:15/docs/example/porsche.jpg
```

<img src="https://assets.autorender.io/LOKVTtKVGb/e_contrast:25,e_brightness:10,e_saturation:15/docs/example/porsche.jpg" alt="Contrast with brightness and saturation" class="ar-url-image" />

## Next steps

<CardGroup cols={2}>
  <Card title="Brightness" icon="sun-bright" iconType="solid" href="/docs/transformations/effects/brightness">
    Lighten or darken the whole frame with `e_brightness`.
  </Card>

  <Card title="Saturation" icon="droplet" iconType="solid" href="/docs/transformations/effects/saturation">
    Adjust color intensity with `e_saturation`.
  </Card>

  <Card title="Sharpen" icon="wand-sparkles" iconType="solid" href="/docs/transformations/effects/sharpen">
    Define edges and detail with `e_sharpen`.
  </Card>

  <Card title="All effects" icon="wand-magic-sparkles" iconType="solid" href="/docs/transformations/effects/introduction">
    Browse every effect token and how they combine.
  </Card>
</CardGroup>
