Of course, in certain situations a plane has to be painted white...or another colour.
Concorde had to be finished in a special, highly reflective white paint to mitigate the extreme heating effects that friction caused at mach 2.
[It] reaches 127° C at the nose and trailing edge, but the special ‘high-reflectivity’ white paint helps reflect and radiate heat. Its reflectivity is 80 out of 100, compared to the rating of normal white paint of 45-50 out of 100, Concorde is re-painted every three years.
Conversely, the SR-71 Blackbird was painted matte black for almost exactly the same reasonsame reason, plus some radar signature reduction.