Hi, in relation to stepper motor wiring...

If i have a green, red, yellow and blue wire how do i know which is which phase...hope that doesnt sound to elimentary?

Any help or advice is much appreciated as my electronics knowledge is not great

cheers
stephen