---
name: "ctrlSetTextColorSecondary"
type: command
status: ok
groups: ["GUI Control"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/ctrlSetTextColorSecondary
revid: 377731
updated: 2026-01-03T00:21:36Z
---

# ctrlSetTextColorSecondary

*Command · GUI Control · Arma 3 v0.50 · introduced in Operation Flashpoint vNone*

## Description

Sets the secondary text color of a text control.

## Syntax

```sqf
control ctrlSetTextColorSecondary color
```

**Parameters:**

- `control`: [Control](../topics/Control.md) - text control
- `color`: [Color (RGBA)](../topics/Color.md)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
_ctrlText ctrlSetTextColorSecondary [1, 0.5, 0.1, 0.5];
```

## See also

[ctrlTextSecondary](../commands/ctrlTextSecondary.md) · [ctrlSetText](../commands/ctrlSetText.md) · [ctrlText](../commands/ctrlText.md) · [ctrlSetTextSecondary](../commands/ctrlSetTextSecondary.md)

<sub>Source: [BI Community Wiki — ctrlSetTextColorSecondary](https://community.bistudio.com/wiki/ctrlSetTextColorSecondary) (revision 377731).</sub>
