# Shape.Fill.Color Property

> Gets or sets the shape's fill color. The default value is a structure of type Systen.Drawing.Color with the values A=255, R=91, G=155 and B=213.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 23.0
- **Namespace:** `TXTextControl.Drawing`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXDrawing.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDrawing.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.Drawing > Shape.Fill.Color Property
- **349 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/shape-fill/color-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/shape-fill/color-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/shape-fill/color-property/llms-full.txt

---

### Description

Gets or sets the [shape](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/shape/llms-full.txt)'s [fill](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/shape/shapefill-property/llms-full.txt) color. The default value is a structure of type `Systen.Drawing.Color` with the values `A=255, R=91, G=155` and `B=213.`

### Syntax

```csharp
public Color Color { get; set; }
```

```vbnet
Public Property Color As Color
```

### Examples

The following example uses `Fill.Color` to configure color as part of the fill workflow. The configured value is checked before the workflow continues.

```csharp
fill.Color = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Color used by Fill: {fill.Color}");
```

```vbnet
fill.Color = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Color used by Fill: {fill.Color}")
```

---

## Nearby

- **Previous:** [Shape.Fill Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/shape-fill/llms-full.txt)
- **Next:** [Shape.FitToCanvas Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/shape/fittocanvas-method/llms-full.txt)
