Space isn't always cold. In fact, it can get pretty hot.
In the darkest parts of space, temperatures can reach -454 degrees Fahrenheit. But if you're orbiting near Earth in the sunlight, space is a toasty 250 degrees Fahrenheit. Astronauts' spacesuits are white to reflect the heat they encounter while floating above the Earth.