From: terencehill Date: Tue, 30 Jun 2020 13:03:15 +0000 (+0000) Subject: Update List of color codes X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4d5727f2688fa55d7c1a7f534772b4cf86e5e2de;p=xonotic%2Fxonotic.wiki.git Update List of color codes --- diff --git a/List-of-color-codes.md b/List-of-color-codes.md index 5a4964f..384e0f3 100644 --- a/List-of-color-codes.md +++ b/List-of-color-codes.md @@ -1,31 +1,31 @@ -The color codes are used in event messages to change the color. When of these appear anywhere in the text, the color of the text will be changed. The code itself will be invisible. +Color codes are used in event messages to change text color (the code itself is invisible). * Base colors: | Code | Note | | ------ | ------ | -| `^1` | Red | -| `^2` | Green | -| `^3` | Yellow | -| `^4` | Dark Blue | -| `^5` | Light Blue | -| `^6` | Pink | -| `^7` | White | -| `^8` | half transparent white| -| `^9` | Light Gray | -| `^0` | Black | -| `^xRGB` | RGB color | +| `^1` | `#F00` Red | +| `^2` | `#0F0` Green | +| `^3` | `#FF0` Yellow | +| `^4` | `#00F` Blue | +| `^5` | `#0FF` Cyan | +| `^6` | `#F0F` Magenta | +| `^7` | `#FFF` White | +| `^8` | `#FFF8` Half transparent white| +| `^9` | `#888` Light Gray | +| `^0` | `#000` Black | +| `^xRGB` | `#RGB` Custom color | * Notification colors: -| Code | Note | -| ------ | ------ | -| `^BG` | Default color | -| `^TC` | Team color | -| `^F1` | foreground/normal color 1 | -| `^F2` | foreground/normal color 2 | -| `^F3` | foreground/normal color 3 | -| `^F4` | foreground/normal color 4 | -| `^K1` | "kill" color 1 | -| `^K2` | "kill" color 2 | -| `^K3` | "kill" color 3 | +| Code | Note | Corresponding cvar| +| ------ | ------ | ------ | +| `^TC` | Team color | - | +| `^BG` | Default color | hud_colorset_background | +| `^F1` | foreground/normal color 1 | hud_colorset_foreground_1 | +| `^F2` | foreground/normal color 2 | hud_colorset_foreground_2 | +| `^F3` | foreground/normal color 3 | hud_colorset_foreground_3 | +| `^F4` | foreground/normal color 4 | hud_colorset_foreground_4 | +| `^K1` | "kill" color 1 | hud_colorset_kill_1 | +| `^K2` | "kill" color 2 | hud_colorset_kill_2 | +| `^K3` | "kill" color 3 | hud_colorset_kill_3 |