---
id: "P:cAlgo.API.ChartTemplateColorSettings.SellColor"
kind: "property"
type: "T:cAlgo.API.ChartTemplateColorSettings"
url: "https://help.ctrader.com/ctrader-algo/references/Chart/Templates/ChartTemplateColorSettings/SellColor/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# ChartTemplateColorSettings.SellColor

Member of [ChartTemplateColorSettings](https://help.ctrader.com/ctrader-algo/references/Chart/Templates/ChartTemplateColorSettings/index.md).

## SellColor

Gets or sets the color of Sell order positions and orders.

Environments: Desktop supported · CLI supported · Cloud not supported.

- Cloud: Never available in the cloud: it is only returned by members that do not work there (ChartTemplate.ColorSettings).

C#:

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

Python:

```python
chartTemplateColorSettings.SellColor: Color
```

### Returns

`Color` — 

Available since cAlgo.API 5.6.

### Examples

C#:

```csharp
var template = ChartTemplates.Get("My Template");
if (template != null)
{
    template.ColorSettings.SellColor = Color.Crimson;
    Print("Template sell color: {0}", template.ColorSettings.SellColor);
}
```

Python:

```python
template = api.ChartTemplates.Get("My Template")
if template is not None:
    template.ColorSettings.SellColor = Color.Crimson
    api.Print(f"Template sell color: {template.ColorSettings.SellColor}")
```

