Why are some tree trunks painted white?
There are several reasons for the white painting tree trunks.
For one , it's an effective method of reducing re-infestation of borers, etc., that either hide in trunk bark to overwinter or overwintering in soil to crawl up the tree in spring.
It is also the traditional way to protect fruit tree trunks from heat and sun is to paint them with a thick coat of lime and water. Most of the time the lime and water are heated to make the coating last longer.
This method is called whitewashing. The white paint will reflect the sunlight and thus keep the bark cooler. Some tree trunks are painted with white latex paint to prevent the killing of the bark by sudden temperature changes in late fall and winter. I have been told that adding rabbit repellent to the paint helps protect the tree from winter foraging of the bark.
And finally the white is very attractive and is often used to just make a lane attractive like the picture below!