Yes, I've always assumed they were color coded; it breaks down something like this (in my mind).
Red doors = engineering (and turbo-lifts)
Blue doors = science and medical (at least on the corridor side)
Yellow/gold = command and related
Grey = all others
Of course this was not practically achieved in all instances in the show, but it seems to have been the general idea they were shootin for?