---
title: "Color and Tone Correction"
canonical: https://www.graphicsmill.com/docs/gm/color-and-tone-correction.htm
product: "Graphics Mill"
---

# Color and Tone Correction
 
Graphics Mill provides a number of algorithms to correct the bitmap colors and tone range. Topics in this section demonstrate how to use these algorithms.
 
All tone and color adjusting operations in Graphics Mill can be applied in two ways:
 
- Using the [ColorAdjustmentProvider](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorAdjustmentProvider.htm.md) class associated with the [Bitmap](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md). The following code snippet illustrates this approach using the [Brightness(Single)](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_ColorAdjustmentProvider_Brightness_1_7a94462e.htm.md) method which is described in the [Brightness and Contrast](https://www.graphicsmill.com/docs/gm/brightness-and-contrast.htm.md) topic: 
```csharp
    bitmap.ColorAdjustment.Brightness(0.2f);
    ```
- Using an appropriate transform class from the [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md) namespace. The code example below demonstrates this approach using the similar [Brightness](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Brightness.htm.md) transform, which is also described in the [Brightness and Contrast](https://www.graphicsmill.com/docs/gm/brightness-and-contrast.htm.md) topic: 
```csharp
    using (var bitmap = new Bitmap(@"Images\in.jpg"))
    using (var brightness = new Brightness())
    {
        brightness.Auto = false;
        brightness.Amount = 0.2f;
    
        using (var newbitmap = brightness.Apply(bitmap))
            newbitmap.Save(@"Images\Output\out.jpg");
    }
    ```

Below you can find an overview of tone and color correction techniques implemented in Graphics Mill as well as code examples for both techniques.
 
## In This Section
  
[Brightness and Contrast](https://www.graphicsmill.com/docs/gm/brightness-and-contrast.htm.md) 
 [Advanced Tone Correction](https://www.graphicsmill.com/docs/gm/advanced-tone-correction.htm.md) 
 [Color Adjustment](https://www.graphicsmill.com/docs/gm/color-adjustment.htm.md)
