Colours
From Unvanquished
Font colors are used by prefixing text with ^char
as shown in the following table:
Value | Color | Hex | Floating-point |
---|---|---|---|
0
|
Dark Grey | #333333
|
(0.2 , 0.2 , 0.2 )
|
1
|
Red | #FF0000
|
(1 , 0 , 0 )
|
2
|
Green | #00FF00
|
(0 , 1 , 0 )
|
3
|
Yellow | #FFFF00
|
(1 , 1 , 0 )
|
4
|
Blue | #0000FF
|
(0 , 0 , 1 )
|
5
|
Cyan | #00FFFF
|
(0 , 1 , 1 )
|
6
|
Magenta | #FF00FF
|
(1 , 0 , 1 )
|
7 |
White | #FFFFFF
|
(1 , 1 , 1 )
|
8
|
Orange | #FF7F00
|
(1 , 0.5 , 0 )
|
9
|
Light Grey | #7F7F7F
|
(0.5 , 0.5 , 0.5 )
|
:
|
Lighter Grey | #BFBFBF
|
(0.75 , 0.75 , 0.75 )
|
;
|
Lighter Grey[1] | #BFBFBF
|
(0.75 , 0.75 , 0.75 )
|
<
|
Forest Green | #007F00
|
(0 , 0.5 , 0 )
|
=
|
Olive Drab | #7F7F00
|
(0.5 , 0.5 , 0 )
|
>
|
Navy Blue | #00007F
|
(0 , 0 , 0.5 )
|
?
|
Maroon | #7F0000
|
(0.5 , 0 , 0 )
|
@
|
Brown | #7F3F00
|
(0.5 , 0.25 , 0 )
|
A
|
Light Orange | #FF9919
|
(1 , 0.6 , 0.1 )
|
B
|
Teal | #007F7F
|
(0 , 0.5 , 0.5 )
|
C
|
Purple | #7F007F
|
(0.5 , 0 , 0.5 )
|
D
|
Baby Blue | #007FFF
|
(0 , 0.5 , 1 )
|
E
|
Periwinkle | #7F00FF
|
(0.5 , 0 , 1 )
|
F
|
Turqouise | #3399CC
|
(0.2 , 0.6 , 0.8 )
|
G
|
Pastel Green | #CCFFCC
|
(0.8 , 1 , 0.8 )
|
H
|
Dark Green | #006633
|
(0 , 0.4 , 0.2 )
|
I
|
Firetruck Red | #FF0033
|
(1 , 0 , 0.2 )
|
J
|
Running out of Names Red | #B21919
|
(0.7 , 0.1 , 0.1 )
|
K
|
Dark Red | #993300
|
(0.6 , 0.2 , 0 )
|
L
|
Dark Orange | #CC9933
|
(0.8 , 0.6 , 0.2 )
|
M
|
Beige, Kinda | #999933
|
(0.6 , 0.6 , 0.2 )
|
N
|
Peach | #FFFFBF
|
(1 , 1 , 0.75 )
|
O
|
Light Yellow | #FFFF7F
|
(1 , 1 , 0.5 )
|
^
|
Literal ^
|
||
*
|
Reset colour | ||
x rgb
|
12 bit hexadecimal RGB notation | x rgb
|
(r/15, g/15, b/15) |
# rrggbb
|
24 bit hexadecimal RGB notation | # rrggbb
|
(rr/255, gg/255, bb/255) |
Anything else, e.g. ^!
, results in both characters being displayed with no colour change.
For example, entering ^1h^8h^3h^2h^4h^6h
would result in hhhhhh being displayed.
- ↑
^;
is reserved for use by the game code. The colour may vary.