---
name: "ctrlForegroundColor"
type: command
status: ok
groups: ["GUI Control"]
arma3_since: "2.06"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/ctrlForegroundColor
revid: 377364
updated: 2026-01-02T06:40:35Z
---

# ctrlForegroundColor

*Command · GUI Control · Arma 3 v2.06*

## Description

Returns control's foreground color.

## Syntax

```sqf
ctrlForegroundColor control
```

**Parameters:**

- `control`: [Control](../topics/Control.md)

**Returns:** [Color (RGBA)](../topics/Color.md)

## Examples

### Example 1

```sqf
ctrlForegroundColor _control;
```

## See also

[ctrlSetForegroundColor](../commands/ctrlSetForegroundColor.md) · [ctrlText](../commands/ctrlText.md)

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