Color index, as a geological term, is a measure of the ratio between generally dark mafic minerals and generally light felsic minerals in an igneous rock. The color index of an igneous rock is the volume percentage of mafic minerals in the rock, excluding minerals generally regarded as "colorless" such as apatite, muscovite, primary carbonates and similar minerals. Rocks can be sorted into classes by several systems based on their color index, including into leucocratic and melanocratic rocks, or into (mineralogically) felsic and mafic rocks.