If you have a white wire, it’s for the speed sensor in some motors and temperature sensor in others. Some controllers don’t accommodate either.
For the hall wires the usual colour combinations are:
Red = +5v for all of the hall sensors
Black = Gnd for all of the hall sensors
Yellow, Blue &...