if two inedible insects share common colors they may be warning a predator
True, many bright colors such as red and orange, and also black, signal that an insect is poisonous. This is called Aposemetic Coloration. Lady bugs are a good example. They are toxic to some animals, and come in a variety of colors such as red, orange, yellow, and black, all of which are warning colors.