First, have you looked on the washing machine case for a schematic?
Sometimes they are on the inside of the unit. That might tell you what
color is what.
I am not familiar with this particular valve, but most such valves
operate by a coil (solenoid) I believe. Since there is probably a hot
water and a cold water side, I would check for a coil for each side with
an ohmmeter. One pair of wires would be for the hot and one for the cold.
If you also do not know which of the four wires go to the coils,
measure the voltage with a voltmeter when you set the washing machine to
turn on the water. That should tell you which is hot and cold.
In most cases there is one common lead that is daisy-chained to one
terminal on each coil for hot and cold water. Look for a wiring diagram
as others have already suggested. Get it wrong and the worst that will
happen is that the water temperature is incorrect and you will have to
swap the "hot" leads.
This advice may be too late: take a digital photo of the setup prior to
HomeOwnersHub.com is a website for homeowners and building and maintenance pros. It is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.