The red color comes from iron oxide in their mineral structure. Although they have been deposited throughout the Phanerozoic, they are most commonly associated with rocks deposited during the Devonian, Permian and Triassic periods. The Old Red Sandstone is one of the most famous rock formations.