Much of the colors were protected by the fact that the temple was buried in sand for a very long time.