# Adjustments

**RadImageEditor** supports the following image adjustments.

* [Hue](https://www.telerik.com/products/winforms/documentation/controls/image-editor/features/adustments#hue-adjustment)
* [Saturation](https://www.telerik.com/products/winforms/documentation/controls/image-editor/features/adustments#saturation-adjustment)
* [Contrast](https://www.telerik.com/products/winforms/documentation/controls/image-editor/features/adustments#contrast-and-brightness-adjustment)
* [Invert Colors](https://www.telerik.com/products/winforms/documentation/controls/image-editor/features/adustments#invert-colors)

> caption Figure 1: Adjust section

![WinForms RadImageEditor Adjust section](https://www.telerik.com/products/winforms/documentation/assets/85c8422b02579e5e9d6d5a059d92fab9/image-editor-adjustments001.png)

# Hue adjustment

The Hue can be adjusted with the respective dialog, the values can be from 0 to 360.

> caption Figure 2: Hue Dialog

![WinForms RadImageEditor Hue Dialog](https://www.telerik.com/products/winforms/documentation/assets/7b1ff2aa7f50f74f231631dcd285a356/image-editor-adjustments002.png)

This can be done in the code behind as well.

```C#
radImageEditor1.ImageEditorElement.SetHue(200);
radImageEditor1.ImageEditorElement.SaveState();
```

```VB.NET
radImageEditor1.ImageEditorElement.SetHue(200)
radImageEditor1.ImageEditorElement.SaveState()
```

# Saturation adjustment

The Saturation can be adjusted with the respective dialog the values can be from -100 to 100.

> caption Figure 3: Saturation Dialog

![WinForms RadImageEditor Saturation Dialog](https://www.telerik.com/products/winforms/documentation/assets/1696e16a28f37fc08a1fb08d7e1ce574/image-editor-adjustments003.png)

To do this programmatically use the **SetSaturation** method.

```C#
radImageEditor1.ImageEditorElement.SetSaturation(-50);
radImageEditor1.ImageEditorElement.SaveState();
```

```VB.NET
radImageEditor1.ImageEditorElement.SetSaturation(-50)
radImageEditor1.ImageEditorElement.SaveState()
```

# Contrast and Brightness adjustment

The Contrast and Brightness can be adjusted with the respective dialog the values can be from -100 to 100.

> caption Figure 4: Brightness and Contrast Dialog

![WinForms RadImageEditor Brightness and Contrast Dialog](https://www.telerik.com/products/winforms/documentation/assets/8bd3b2a2eaaf12706f71a6ca17f5270f/image-editor-adjustments004.png)

This can be done in the code behind as well.

```C#
radImageEditor1.ImageEditorElement.SetContrastAndBrightness(100, 10);
radImageEditor1.ImageEditorElement.SaveState();
```

```VB.NET
radImageEditor1.ImageEditorElement.SetContrastAndBrightness(100, 10)
radImageEditor1.ImageEditorElement.SaveState()
```

# Invert Colors

The Invert Color button just inverts the colors in the image pixel by pixel.

> caption Figure 5: Inverted Colors

![WinForms RadImageEditor Inverted Colors](https://www.telerik.com/products/winforms/documentation/assets/4c1e8afb7307abc3d57f40aa6bd11d99/image-editor-adjustments005.png)

This action can be performed in code with the following method.

```C#
radImageEditor1.ImageEditorElement.InvertColors();
radImageEditor1.ImageEditorElement.SaveState();
```

```VB.NET
radImageEditor1.ImageEditorElement.InvertColors()
radImageEditor1.ImageEditorElement.SaveState()
```

## See Also

* [Getting Started](https://www.telerik.com/products/winforms/documentation/controls/image-editor/getting-started)
* [Structure](https://www.telerik.com/products/winforms/documentation/controls/image-editor/structure)
* [Properties and Events](https://www.telerik.com/products/winforms/documentation/controls/image-editor/properties-and-events)
