---
title: "ColorAdjustmentProvider..::.AdjustHsl Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_ColorAdjustmentProvider_AdjustHsl_3_8ebc23ce.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# ColorAdjustmentProvider.AdjustHsl Method 
 
Adjusts hue, saturation, and lightness of the image.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub AdjustHsl ( _hue As Single, _saturation As Single, _lightness As Single _
)
```
 
```csharp
public void AdjustHsl(float hue,float saturation,float lightness
)
```
 
### Parameters
 
 - hue
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Hue modifier. Should be in range [-1, 1].

 - saturation
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Saturation modifier. Should be in range [-1, 1].

 - lightness
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Lightness modifier. Should be in range [-1, 1].
 
## Remarks
  
You can also use [AdjustHsl](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_AdjustHsl.htm.md) class to apply this correction.
 
Such parameters as *saturation* and *lightness* are normalized to 1. Depending on pixel format they are scaled to 255 or 65355 inside of the method. Hue is normalized to 360. In other words, hue\*360 means a degree on the color wheel.
 
## Examples
  
```
bitmap.ColorAdjustment.AdjustHsl(0.1F, -0.2F, 0.1F)
```
 
```csharp
bitmap.ColorAdjustment.AdjustHsl(0.1F, -0.2F, 0.1F);
```
   
## See Also

### Reference

- [ColorAdjustmentProvider Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_ColorAdjustmentProvider.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
