# strokeColor

> The color of draw paths when using Painter2D.Stroke.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.UIElements](/engine/6000.5/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

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

### Remarks

Setting a stroke color will override the currently set [\_strokeGradient](/engine/6000.5/script-reference/unityengine/uielements/painter2d/strokegradient.md).
