---
id: "P:cAlgo.API.Color.B"
kind: "property"
type: "T:cAlgo.API.Color"
url: "https://help.ctrader.com/ctrader-algo/references/Utility/Color/B/"
---

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

# Color.B

Member of [Color](https://help.ctrader.com/ctrader-algo/references/Utility/Color/index.md).

## B

Gets the blue component value of the color.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public byte B {get;}
```

Python:

```python
color.B: int
```

### Returns

`byte` — 

### Examples

C#:

```csharp
var color = Color.SteelBlue;
Print("Blue: {0}", color.B);
```

Python:

```python
color = Color.SteelBlue
api.Print(f"Blue: {color.B}")
```

