There have been different division colors used at different times throughout the various Star Trek series. Both Memory Alpha and Memory Beta deal with them in the various uniform and rank articles.
Most prominently, the basic colors have been red, blue (or teal) and gold (or mustard). In Enterprise and TOS, gold represented the command division, blue the sciences division and red for operations division. By TNG, gold represented operations and red represented command.