A sedimentary rock is formed underground through pressure which pushes sediments of rock together. This may result in colorful layers.