Motor to ESC wire connection

Got a new set with the motors and the esc´s, but the wires from the esc to the motor have all the same color and don´t know how to connect them.

Can anyone help me ?

@Miguel_Quesada You can connect the three wires from the ESC to the Motor in any order you like. If the motor is spinning in the direction opposite to that of your requirement, simply exchange two of the three connections between the ESC and the Motor.

As already said, wire it anyway you wish. For aesthetics, I like to make it all lay flat. Swapping two cable is the easiest way to change direction. You can technically also do it via the ESC firmware config tool (requires USB passthrough via FC). Also keep in mind that some motors are threaded for CW and CCW so be sure to check motor direction if needed.

Thanks a lot for the answer ! I´m new on this