---
title: "TransformsProvider.RemoveContiguousBackground Method (Color, Single)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_TransformsProvider_RemoveContiguousBackground_2_d079cd70.htm
product: "Graphics Mill"
---

# TransformsProvider.RemoveContiguousBackground Method (Color, Single)
 
Makes the background of the specified color transparent using the specified tolerance.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public void RemoveContiguousBackground(Color backgroundColor,float tolerance
)
```
 
### Parameters
 
 - backgroundColor
     - Type: [Aurigma.GraphicsMill.Color](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Color.htm.md)
The color of the background, or `null` to use the median color of the image border.

 - tolerance
     - Type: System.Single
The largest color difference (delta E) between a background pixel and the background color, in range `[0, 200]`.
 
## Remarks
 For details, see [ContiguousBackgroundRemoval](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_ContiguousBackgroundRemoval.htm.md).
   
## See Also

### Reference

- [TransformsProvider Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_TransformsProvider.htm.md)
- [RemoveContiguousBackground Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_TransformsProvider_RemoveContiguousBackground.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
