Felsic rocks are made of light-colored, low-density minerals such as quartz and feldspar.
Mafic rocks are made of dark-colored, higher-density minerals such as olivine and pyroxene.
Intermediate rocks have compositions between felsic and mafic.
Ultramafic rocks contain more than 90% mafic minerals and have very few light, felsic minerals in them