# ForeColor Property

> Returns or sets the text color of a formatting style as an RGB Long from 0 to &HFFFFFF, &H40000000 for the system window text color or &H80000000 to inherit it.

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

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-text-control-activex/reference/style/forecolor-property/#syntax)
- [Data Types](https://docs.textcontrol.com/tx-text-control-activex/reference/style/forecolor-property/#data-types)
- [Limitations](https://docs.textcontrol.com/tx-text-control-activex/reference/style/forecolor-property/#limitations)
- [See Also](https://docs.textcontrol.com/tx-text-control-activex/reference/style/forecolor-property/#see-also)

---

## Nearby

- **Previous:** [FontUnderline Property](https://docs.textcontrol.com/tx-text-control-activex/reference/style/fontunderline-property/llms.txt)
- **Next:** [FrameDistance Property](https://docs.textcontrol.com/tx-text-control-activex/reference/style/framedistance-property/llms.txt)
