Chert is usually of biological origin, being the petrified remains of siliceous ooze, the biogenic sediment that covers large areas of the deep ocean floor, and which contains the silicon skeletal remains of diatoms, silicoflagellates, and radiolarians. Depending on its origin, it can contain either microfossils, small macrofossils, or both. It varies greatly in color (from white to black), but most often manifests as gray, brown, grayish brown and light green to rusty red (occasionally dark green too); its color is an expression of trace elements present in the rock, and both red and green are most often related to traces of iron (in its oxidized and reduced forms respectively).
Chert also occurs in diatomaceous deposits and is known as diatomaceous chert. Diatomaceous chert consists of beds and lenses of diatomite which were converted during diagenesis into dense, hard chert. Beds of marine diatomaceous chert comprising strata several hundred meters thick have been reported from sedimentary sequences such as the MioceneMonterey Formation of California and occur in rocks as old as the Cretaceous.