since only germ cells are responsible for the variation in progeny, and when theformationof body depends on it then how can a person with black colored skin gives rise to a black colored offspring as the color is due to change in somatic cells?
Since germ cells are formed after undergoing meiosis which promotes recombination and crossing over, recombination and crossing over bring about variation in the germ cells. You must understand that skin colour is a genetically determined factor. When the male and female germ cells fuse, zygote is formed and when zygote undergoes rapid division various parts of the body including skin is formed. So, the colour of skin is determined by genetic constitution of the zygote which is formed by the fusion of gametes.