# Worksheet.setTabColor Method

> Worksheet.setTabColor method in the TX Sheet Control JavaScript API for the browser: Sets/clears the tab color in one undoable operation.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Method
- **Path:** TX Sheet Control > API Reference > JavaScript API > Browser Editor > Worksheet > Worksheet.setTabColor Method
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/worksheet/settabcolor-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/worksheet/settabcolor-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/worksheet/settabcolor-method/llms-full.txt

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/worksheet/settabcolor-method/#syntax)
- [Parameters](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/worksheet/settabcolor-method/#parameters)
- [Return Value](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/worksheet/settabcolor-method/#return-value)
- [Examples](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/worksheet/settabcolor-method/#examples)
- [Remarks](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/worksheet/settabcolor-method/#remarks)
- [See Also](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/worksheet/settabcolor-method/#see-also)

---

## Nearby

- **Previous:** [Worksheet.rows Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/worksheet/rows-property/llms.txt)
- **Next:** [Worksheet.tabColor Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/worksheet/tabcolor-property/llms.txt)
