How do game developers decide on their colour palette?

The success of the gaming industry depends on various factors. While gameplay elements like strategy and…