]> git.xonotic.org Git - xonotic/xonotic.wiki.git/blob - List-of-color-codes.md
Link to Creating-bot-waypoints
[xonotic/xonotic.wiki.git] / List-of-color-codes.md
1 Color codes are used in event messages to change text color (the code itself is invisible).
2
3 * Base colors:
4
5 | Code | Note |
6 | ------ | ------ |
7 | `^1` | `#F00` Red |
8 | `^2` | `#0F0` Green |
9 | `^3` | `#FF0` Yellow |
10 | `^4` | `#00F` Blue |
11 | `^5` | `#0FF` Cyan |
12 | `^6` | `#F0F` Magenta |
13 | `^7` | `#FFF` White |
14 | `^8` | `#FFF8` Half transparent white|
15 | `^9` | `#888` Light Gray |
16 | `^0` | `#000` Black |
17 | `^xRGB` | `#RGB` Custom color |
18
19 * Notification colors:
20
21 | Code | Note | Corresponding cvar|
22 | ------ | ------ | ------ |
23 | `^TC` | Team color | - |
24 | `^BG` | Default color | hud_colorset_background |
25 | `^F1` | foreground/normal color 1 | hud_colorset_foreground_1 |
26 | `^F2` | foreground/normal color 2 | hud_colorset_foreground_2 |
27 | `^F3` | foreground/normal color 3 | hud_colorset_foreground_3 |
28 | `^F4` | foreground/normal color 4 | hud_colorset_foreground_4 |
29 | `^K1` | "kill" color 1 | hud_colorset_kill_1 |
30 | `^K2` | "kill" color 2 | hud_colorset_kill_2 |
31 | `^K3` | "kill" color 3 | hud_colorset_kill_3 |