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.