The main reason why aircraft are painted white or light colours is to reflect sunlight and minimise both the heat and any potential damage from solar radiation. According to the CDC during a 3 hour flight passengers are exposed to 3.5 mrem of cosmic radiation, about the same as a chest x-ray.