There is no "official" flag of the planet Mars; however, the Mars Society's flag is usually considered to be the unofficial flag of Mars. The red symbolizes the red, barren surface. The blue represents water, and the green represents life if it was to be terraformed.

Mars Society

The flag of the Mars Society

VexiWiki has a design page for: