Juvenile green tree pythons hatch a yellow or maroon color to help warn predators away. On average, it takes six to eight months for them to change to green.