Uh, no. An X-ray photon and an infra-red photon have the same velocity, c. They have different frequencies. Neither will escape a black hole, which is pretty much defined as a body having an escape velocity greater than c.
"Card readers? We don't need no stinking card readers." -- Peter da Silva (at the National Academy of Sciencies, 1965, in a particularly vivid fantasy)