I use a department color system that someone else came up with a while ago.
Captain/Flag officers: Purple.
Wait Tactical is Green and Engineering is Blue? I thought it was the other way around. I was thinking about taking a que from Balance of Terror where the bridge officers have blue Sashes and the Commander has a pink one.