The decision on kits is based on a variety of factors, including potential colour clashes and requests from teams.
Supporters were in for a surprise on Friday as Brazil and Costa Rica walked out for their World Cup Group E clash in St. Petersburg wearing away colours despite no apparent clash in their home kits.
Brazil, instantly recognizable in their famous yellow shirts and blue shorts, were kitted out in an all-blue number for the match at the Saint Petersburg Stadium. Costa Rica swapped their red shirt and blue shorts for all-whites.
Asked about the reason behind the decision, a FIFA spokesperson told Reuters by email: "The colours are actually shared with the teams in April and are only reconfirmed at the match coordination meeting on the day before the match."
The spokesperson added that the decision on kits is based on a variety of factors, including potential colour clashes and requests from teams.
"It also takes into account the need to keep a certain balance by allowing the teams to use their home and away kits. In general, FIFA endeavour to ensure that each team wears its official team kit at least once during the group stage," they said.
An off-colour Brazil needed dramatic late goals by Philippe Coutinho and Neymar to earn their first win of the World Cup and go to the top of Group E with four points.
Costa Rica have none and crashed out of the competition.
Australia wore their dark green away kit in Thursday's 1-1 draw with Denmark in Group C. However, according to the Totally Football Show podcast, that decision was to help the colour-blind Danish midfielder Thomas Delaney, who would have otherwise struggled to differentiate between canary yellow and white -- the home colours of the teams.