It's called aposematism, and it's nature's way of warning other creatures that they may be consumed if they get near the beast's maw.  Brightly colored animals are warning the rest of the ecosystem "stay away from me, I'm dangerous, I don't need camouflage".