The kingsnake body shape and coloration is highly specialized to conceal the animal in the many habitats where they live, such as forests, grasslands, rocky terrains, and even urban environments.