This is from the stepper port on the board. The stepper side is wired red to orange, green to green, black to brown, and blue to blue for B keystone pinout. You should check the pairs though, there isn’t a color standard, but that’s probably correct.