Your question is not really related to this post topic,nevertheless from what I understand you are referring to a tricolor light where the green,red, white are leading to the respective lights and black is the common.
So green,red, white should be connected together to the same switch which should turn on this light and the black should be connected to the common (minus) busbar.