# Javascript: TXTextControl.Color.b Property

> The blue component of the color.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 25.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: TXTextControl.Color.b Property
- **139 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-color/b-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-color/b-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-color/b-property/llms-full.txt

---

### Description

The blue component of the color.

### Syntax

```javascript
<number> TXTextControl.Color.b
```

### Examples

The following example demonstrates `TXTextControl.Color.b` in a practical document-editing workflow. The blue component of the color.

```javascript
function inspectB(color) {
    const b = color.b;
    console.log("b:", b);
}
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.Color.a Property](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-color/a-property/llms-full.txt)
- **Next:** [Javascript: TXTextControl.Color Constructor](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-color/constructor/llms-full.txt)
