The wire colors are simple, green as in grass down, blue as the sky for up.
If the pump runs at full speed and the solenoids just click when the pump does not run then there is good chance the solenoids are at fault. If your pump has the miniature style solenoids they are not as good as the...