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

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

# ChartTemplateColorSettings.AskPriceLineColor

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

## AskPriceLineColor

Gets or sets the color of the ask price line.

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 AskPriceLineColor {get; set;}
```

Python:

```python
chartTemplateColorSettings.AskPriceLineColor: Color
```

### Returns

`Color` — 

Available since cAlgo.API 5.6.

### Examples

C#:

```csharp
var template = ChartTemplates.Get("My Template");
if (template != null)
{
    template.ColorSettings.AskPriceLineColor = Color.Tomato;
    Print("Template ask line color: {0}", template.ColorSettings.AskPriceLineColor);
}
```

Python:

```python
template = api.ChartTemplates.Get("My Template")
if template is not None:
    template.ColorSettings.AskPriceLineColor = Color.Tomato
    api.Print(f"Template ask line color: {template.ColorSettings.AskPriceLineColor}")
```

