# Levels

The Levels tool allows you to adjust the lighting in an image by adjusting the the black point, white point and midtones. It has two automatic adjustments: Auto Levels and Auto Levels and Colors (these are available only when working in the RGB color space).

<div align="left"><figure><img src="/files/6oL2Qy7ICK8tk4kwKqM5" alt=""><figcaption><p>The Levels adjustment panel.</p></figcaption></figure></div>

**Sliders**\
Use the left and right sliders to adjust the black point and white point. This can increase the tonal range. The middle slider adjusts the midtones, which can make the image appear brighter or darker.

**Channel Selector**\
When working in RGB color space, the red, green and blue channels can be adjusted independently. Choose the channel you want to adjust and use the sliders.

**Auto Processing**\
The Auto Levels button will set the black and white points automatically. Auto Levels and Colors will adjust the RGB channels and set the black and white point to give an even white balance.

**Show Clipping**\
When the Show Clipping button is down, areas that are pure black will be highlighted in blue. Areas that are pure white will be highlighted in red.

**Settings**\
This will open another window. You can set the clipping points for the Auto Levels and Colors function, and you can adjust how the histogram is displayed.

<div align="left"><figure><img src="/files/BFNJyvU0GfykcVaPVakA" alt="The Levels and Histogram Options dialog."><figcaption><p>Levels and Histogram Options dialog.</p></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://astra-image.gitbook.io/astra-image-6.0/adjustment-tools/levels.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
