Were ancient statues painted?

Ancient statues in museums are usually gleaming white marble objects, without any trace of colour. But in ancient times, these objects were painted in vivid colours.