# TextBkColor Property

> Returns or sets the text background color of a formatting style: an RGB value, the system window color, the control's background color, or inherited.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > Style > TextBkColor Property
- **183 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/style/textbkcolor-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/style/textbkcolor-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/style/textbkcolor-property/llms-full.txt

---

Returns or sets the formatting style's text background color. Text Control uses the Microsoft Windows operating environment red-green-blue (RGB) color scheme.

### Syntax

```vbscript
Style.TextBkColor [= value]
```

| Setting | Description |
|---|---|
| 0 to &HFFFFFF | These values are interpreted as RGB values. |
| &H40000000 | The style uses the system color for the window background. |
| &H50000000 | The style uses the control's background color. |
| &H80000000 | The text background color is inherited from the paragraph. This value is only possible for character-based styles. |

### Data Types

Long.

### Limitations

Run time only.

### See Also

- [Programming Category: Stylesheet Programming](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/stylesheet-programming/llms-full.txt)

---

## Nearby

- **Previous:** [TabType Property](https://docs.textcontrol.com/tx-text-control-activex/reference/style/tabtype-property/llms-full.txt)
- **Next:** [WidowOrphanLines Property](https://docs.textcontrol.com/tx-text-control-activex/reference/style/widoworphanlines-property/llms-full.txt)
