Verified Answer :

To warm up easily. In forest there isn't very much sunlight and darker colour allows a lizard to absorb sun warmth more efficiently