For a brushless motor it does not matter about the order / colour of the wires - If the motor spins in the wrong direction just swap any two wires.
Generally for a brushled motor (change the settings via castle link) and only use the red and black leads - White should be taped up.
For Ultra hi-power brushed mode all leads are connected to black (-) on motor and the red (+) is connected directly to the battery.
Refer to the following for pics:
http://www.castlecreations.com/suppo...s_ed_guide.pdf