The male peacocks with brighter feathers may be an easier target for predators but they are the preferred mate for females,so the brighter colored feathers are the ideal trait that will be passeddown to the male peacocks.
Because of sexual selection, male peacocks with duller colors will have a harder time in catching a female peacocksattention.
Not this guy again...
On the other hand, male peacocks with bright feathers easily catch female peacocks attention, therefore proving that having the brighterfeathers is not a mere coincidence.
Survival and Reproduction is not Random
While it is an advantage for those situations, it causes a disadvantage for the peacocks when they need to hide from predators.