# Javascript: TXTextControl.displayColors Property

> The displayed colors of the text control.

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

---

### Description

The displayed colors of the text control.

### Syntax

```javascript
<TextViewGeneratorColors> TXTextControl.displayColors
```

### Examples

The following example demonstrates `TXTextControl.displayColors` in a practical document-editing workflow. The displayed colors of the text control.

```javascript
const displayColors = tXTextControl.displayColors;
console.log("display colors:", displayColors);
```

### Limitations

Read Only.

---

## Nearby

- **Previous:** [Javascript: TXTextControl.Direction Enumeration](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/direction-enumeration/llms-full.txt)
- **Next:** [Javascript: TXTextControl.DocumentAccessPermissions Enumeration](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/documentaccesspermissions-enumeration/llms-full.txt)
