← All built-ins / ui_fg()
ui_fg()
ui_fg(...$args): int
Parameters
| Name | Type | Description |
|---|---|---|
| $handle | int | control handle |
| $color | int | RGB value |
Return value
Sets the text color.
Example
echo "ui_fg($lbl, 0xFF7B3D);";
ui_fg($lbl, 0xFF7B3D);
This call needs a real environment (window, server, database or stdin) — the snippet above shows the typical usage shape.