# Shape.Outline.Color Property

> Gets or sets the shape's line color. The default value is System.Drawing.Color.Black.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 23.0
- **Namespace:** `TXTextControl.Drawing`
- **Package:** `TXTextControl.TextControl.WinForms.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 Windows Forms > Reference > TXTextControl.Drawing > Shape.Outline.Color Property
- **340 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape-outline/color-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape-outline/color-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape-outline/color-property/llms-full.txt

---

### Description

Gets or sets the [shape](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/llms-full.txt)'s [line](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/shapeoutline-property/llms-full.txt) color. The default value is `System.Drawing.Color.Black`.

### Syntax

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

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

### Examples

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

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

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

---

## Nearby

- **Previous:** [Shape.Outline Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape-outline/llms-full.txt)
- **Next:** [Shape.Outline.Width Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape-outline/width-property/llms-full.txt)
