Mazal tov!
Thank you for reaching out to us.
Yes, in this case you can wear the colored recovery underwear during
shivah neki'im. If you have access, you can place a
disposable white pantyliner to be able to notice any staining.
Refuah sheleimah! Please let us know if we can be of further assistance.