Why are martians green?

The first reference to Martians being Green was in the 1912 book,

A Princess of Mars, by Edgar Rice Burroughs.