Before. You need what ever resistor/s for what ever battery setup you have.

Remember its a 3W led well 3 1Watts anyway.

So wouldent you need to use one resistor for a red one watt a resistor for a green one watt and one for a blue one watt?