---
title: "FloodFill..::.TargetColor Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_FloodFill_TargetColor.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/)

# FloodFill.TargetColor Property 
 
Gets/sets a target color that is used to find the boundaries of area to fill.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Property TargetColor As Color
```
 
```csharp
public Color TargetColor { get; set; }
```
 
### Property Value
The [Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md) which is used to determine the filling area boundaries.
 
## Remarks
  
The method behaviour depends on *mode* argument value. If *mode* is [UntilColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_FloodFillMode.htm.md), this is a boundary color (when algorithm meets this color, it stops filling). If *mode* is [TillColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_FloodFillMode.htm.md), this is a surface color (algorithm continue filling till current color is the same as target color).
 
Default value is a white color.
   
## See Also

### Reference

- [FloodFill Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_FloodFill.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
