---
title: "FloodFill.Tolerance Property "
canonical: https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_FloodFill_Tolerance.htm
product: "Graphics Mill"
---

# FloodFill.Tolerance Property 
 
Gets or sets a maximum allowed tolerance for the target color.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public float Tolerance { get; set; }
```
 
### Property Value
The tolerance for the target color in range [0, 1]. The default value is `0`.1.
 
## Remarks
 This property specifies an admissible tolerance (distance between colors in color space) when comparing current color and target color (see comments for *targetColor*). Minimum value (0) means exact match of the colors, maximum value (1) means that any color matches.
   
## See Also

### Reference

- [FloodFill Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_FloodFill.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
