The different colors of the Starfleet uniforms seen in Star Trek reflect a person's rank, which department they work in, and the era in which they exist.