How is the Mineral Quartz Formed?

Quartz is mainly made up of silica which is a combination of silicon and oxygen. When the silica is exposed to extreme pressure and heat it will form quartz. Different colors can be produced depending on its impurities. For more information look here: