Coccinellids are often brightly coloured to warn potential predators. This phenomenon is called aposematism. It works because predators learn by experience to associate certain prey phenotypes (appearance) with a bad taste or being poisonous.