Each responds to erosion in a different way: some form slopes, some form cliffs, some erode more quickly than others. 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.