So, to prevent illegal cars and other unfair rates , the council decided to institutionalize the black and yellow combination as the official colour of the taxis. Curiosities: Not only in Barcelona you can find black and yellow painted cabs. Mumbai, in India, and Chile also use these colours.