Why is a zebra crossing black and white?

Zebra crossings are marked with black and white stripes on the road and zigzag lines on either side. These markings warn drivers that there may be pedestrians crossing or waiting to cross the road. They also tell drivers that they must give way to pedestrians who have stepped onto the crossing.