# BarcodeOptions.foreground Property

> BarcodeOptions.foreground property in the TX Sheet Control TypeScript API for Node.js: Six-digit RGB color. Defaults to #000000.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > BarcodeOptions > BarcodeOptions.foreground Property
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/barcodeoptions/foreground-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/barcodeoptions/foreground-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/barcodeoptions/foreground-property/llms-full.txt

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/barcodeoptions/foreground-property/#syntax)
- [Remarks](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/barcodeoptions/foreground-property/#remarks)
- [Examples](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/barcodeoptions/foreground-property/#examples)

---

## Nearby

- **Previous:** [BarcodeOptions.showText Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/barcodeoptions/showtext-property/llms.txt)
- **Next:** [BarcodeOptions.background Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/barcodeoptions/background-property/llms.txt)
