The Mars colony could be useful to test the tools necessary to overcome the hostile climate, and it could make their development (possibly mass development) a higher priority.
So in case the Earth climate starts to change very rapidly, we would have a choice to use already developed and tested equipment, built in existing factories, instead of trying to invent it amidst global chaos.
Article on space.com