Igneous rocks are classified by composition and color based on the minerals present in the rocks.
Igneous rocks are classified based on their composition and color. The presence of specific minerals in the rocks determines their color. For example, a rock with olivine will be green (ultramafic), those with ferromagnesian minerals will be dark (mafic), and those with nonferromagnesian minerals will be light (felsic).
https://brainly.com/question/12928029