Just remember that the water has bleach you must ensure that you color it's not affected by.
As long as you are certain the dye wont wash out of your hair then you are allowed to swim there with died hair, at least as of last year that was the case.
Thanks! Your answer is awaiting moderation.