Did it just turn black, or is this offspring? If it is offspring it could just be a genetic defect or a color morph.
If it has turned black, posting additional info about your tank would be required to diagnose any issues:
tank size
tank age
colony size of shrimp
Age
are they breeding?
ammonia
nitrite
nitrate
pH
temp
PO4 if available
other tank inhabitants
maintenance schedule