Why is the white flag the meaning of surrendering?

And yellow as the colour of being a coward?
7 answers 7