Having owned 2 white cars… they really don’t show dirt. Sure, mud splashes if the mud is thick. But as long as you are not too close, the white overwhelms the appearance of dirt. And won’t show road salt. I am amazed at how bright a white car can get when washed.
$##+ brown, popular in the 70’s shows no dirt. Nada Does show salt, however.
When I was starting to drive, every hand-me-down car my friends drove seemed to be green. And none of them liked green cars either. Mine was a blue-green that I had painted medium blue, a T-Bird color applied to my Pontiac. But as Mike posted, it is a matter of personal preference.