Why aren't Australians black?

I thought Australia and Africa was about the same in temperature, so how comes African people developed melanin but Australians not so much?
Is it because Australians ended up in Australia when houses started being built so they stay out of the sun more... And Africans was out in the sun most of the time in the caveman days when no houses was built so they are exposed to it more?
Why aren't Australians black?
Post Opinion