Method of assigning white/black?


I read an explanation the other day by one of the mods (Martin_Stahl, I think), so I'll try and explain it the same way. It's random, but the site tries to keep an overall balance of 50/50 if a player is getting more of one color. It can get slightly more out of balance though if 2 players are matched who are both getting more of black. Hope that helps...

This says it is random: https://support.chess.com/article/1304-how-can-i-choose-my-color
But I'm pretty sure I've seen post from staff in the past that stated that it is influenced by overall balance, but it is possible my recollection is incorrect or it has changed.

The phrasing in the above linked article seems a bit ambiguous in what the writer means by random, since an event can be random without having 50:50 odds. My gut tells me the writer meant to imply 50:50 odds, but mathematically speaking, it is not clear.
Would anybody who is “in the know” care to chime in? In any given random assignment of sides to players in a game, are the odds always 50:50? Or are the odds modified based on past percentages of white/black for the two players?