It should be fine but may bleed a bit in the h20 especially if the waters warmish/hot. You can apply a leave in conditoner to your hair thenaffix the swim cap for max protection.
Stylists usually have a gloss clear coat they can apply to fresh fashion color for minimal costs. Its usually cost effective, et with heat, provides a coating of shine and seal just like clear coating your nails. It wears off in time jut like the polish does too.