I think this is true, but it could also be from genetics. It’s not all the time based on this, but mostly it is. The skin color s person may have depends within the climate they live in. Their body gets used to the water to make changes and to survive better in that weather. The natural environment can do stuff to put skin aswell. For example the sun can darken skin.