---
title: "FloodFill.TargetColor Property "
canonical: https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_FloodFill_TargetColor.htm
product: "Graphics Mill"
---

# FloodFill.TargetColor Property 
 
Gets or sets a target color that is used to find the boundaries of area to fill.
 
**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 Color TargetColor { get; set; }
```
 
### Property Value
A [Color](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Color.htm.md) used to determine the filling area boundaries. The default value is a white color.
 
## Remarks
 If [Mode](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_FloodFill_Mode.htm.md) is [Border](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_FloodFillMode.htm.md), this property specifies a border color (when algorithm meets this color, it stops filling). If [Mode](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_FloodFill_Mode.htm.md) is [Surface](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_FloodFillMode.htm.md), this property specifies a surface color (algorithm continue filling till current color is the same as target color).
   
## 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)
