Yes, celestial pearl danios will eat shrimp, but only if they’re small enough. Celestial pearl danios are opportunistic feeders and will gladly eat anything that can fit into their mouths.
However, these one-inch fish have tiny mouths, so their options are limited when it comes to shrimp. They’re unlikely to eat adult shrimps, but they will certainly eat any baby shrimp they can find.
Additionally, don’t worry about your celestial pearl danios affecting the shrimp colony size. If the colony is solid, the shrimp can probably reproduce faster than they can be eaten.