It's not clear what will happen to the colours for scavenger or civilian factions if the player chooses the same colour.
Also, in normal games, the scavenger colour is set automatically to a random colour. If some other player chooses that colour on the Players Panel, they will swap colours with the scavenger faction. It's currently not possible for scripts to determine what colour the scavengers are.
Team & Player Colours
There are three alliance modes:
NO_ALLIANCES – every man for himself ("Free For All" or "FFA" game)
ALLIANCES – dynamic alliances (players can join and leave alliances at any time)
ALLIANCES_TEAMS – fixed alliances (players remain in their alliance for the whole game)
In relation to team colours, ALLIANCES is treated the same as NO_ALLIANCES. In these two modes, each player will be in their own team and therefore have their own colour.
If the game us using ALLIANCES_TEAMS then not only will each player be assigned a colour, but each team will be assigned a colour based on the "Team" column in the colour palette below...
Colour Pallete
See also: Trac ticket where colours were chosen and moved to palette.txt in December 2011.
The "Colour ID" shown in the table below is the number that's used in Player objects to indicate which colour a particular player is using.
Swatch
Hex value (rr,gg,bb,aa)
Team
Colour Name
Colour ID
Warzone version
10,70,10,ff
1
Green
0
ff,b0,35,ff
2
Orange
1
90,90,90,ff
3
Grey
2
20,20,20,ff
4
Black
3
9b,0f,0f,ff
5
Red
4
27,31,b9,ff
6
Blue
5
d0,10,b0,ff
7
Pink
6
20,d0,d0,ff
8
Cyan
7
f0,e8,10,ff
9
Yellow
8
70,00,74,ff
10
Purple
9
E0,E0,E0,ff
11
White
10
20,20,FF,ff
12
Bright blue
11
00,A0,00,ff
13
Neon green
12
40,00,00,ff
14
Infrared
13
10,00,40,ff
15
Ultraviolet
14
40,60,00,ff
16
Brown
15
Players set their desired faction colour using the Game Options Menu.
There are some conflicts caused by the ability for players to choose the same colours as those used by factions within the Campaigns.