There is no 'Quit' button in the game.
To close the game, open the main screen of your device as you usually do it. Or open the 'Recent apps' menu and swipe Idle Mars Colony away.