Igneous rock forms through the cooling and solidification of magma or lava. It is classified based on several properties including genesis, texture, color, and chemical composition. Based on genesis, igneous rocks are classified as plutonic (cooled at depth), hypabyssal (cooled at shallow depth), or volcanic (cooled on the surface). Texture classifications include phaneritic, aphenitic, porphyritic, and poikilitic. Color classifications are based on the percentage of mafic minerals and include leucocratic, mesocratic, melanocratic, and hypermelanic. Chemical composition classifications include peraluminous, metaaluminous, subaluminous, and several