Grass is green because of pigments inside of it, and the sky is blue from reflections off of water particles in the air. Those are pretty straightforward answers.

And SE probably uses lots of programs to make their games, and they do so with a very large staff. Just watch the credits to any of their games.