Yeah this was figured out in the Mediterranean probably a few hundred years ago: https://www.santorini-view.com/white-houses-of-santorini
Unfortunately, we are losing some of this cumulative knowledge due to it not being documented, and due to the looks of alternatives (although the grey buildings in the US are as ugly as it can get)