Flags are used at all beaches to advise swimmers of sea a green flag means the sea is safe for swimming , while a red flag warns of danger .
Red flags mean safety and green flags mean danger at the beach .