I guess white shows damage and scrapes really well too, so you can easily see structural problems / missing screws etc on a preflight.
As far as I know black is the preferred colour for visibility. The RAF switched their Hawk & Tucano training aircraft from white&red to black because they found it was the most visible colour.