The vivid colors of many of these layers are due mainly to small amounts of various minerals. Most contain iron, which imparts subtle shades of red, yellow, and green to the canyon walls. Climate plays an important role in the appearance of the canyon.