Why are taxis black in London?

They're not all black but black is the colour you are most likely to see on the streets of London.