Yes you can swim there with green and yellow or you can risk tour life with red.
A GREEN flag means that the water is calm. The undertow is slight to non-existent and it is safe to swim using the proper amount of caution! A YELLOW flag indicates the presence of light surf or currents and additional caution should be used while swimming in the Gulf. A RED flag indicates the presence of strong surf and currents. Swimming in these conditions is not recommended as it presents a very high hazard to all swimmers. A DOUBLE RED flag, however, means that the water is closed to the public! No one is allowed in the water when a double red flag is posted! Finally, a PURPLE flag indicates the presence of marine pest in the water such as jellyfish, stingrays or dangerous fish.
With a Purple flag, just make sure it's not the Man O' War/Blue Bottles on the beach. Other jellies are just nuisance and ok. Double red, don't bother going.
You can swim when the flag is green and yellow
Green and yellow
Thanks! Your answer is awaiting moderation.