The order of the planets according to hottest to the coldest:
1.Venus -471 deg C
2. Mercury-430 deg C
3. Earth-16 deg C
4. Mars- -28 deg C
5. Jupiter- -108 deg C
6. Saturn- -138 deg C
7. Uranus- -195 deg C
8. Neptune- -201 deg C
The temperature of each planet is affected by its distance from the sun. The farther the planet from the sun, the colder the temperature of such planet.