It's difficult measuring voltage at the sender plug, there's a ground there, but the +ve will be coming through the resistance of the gauge on pin W and through the low fuel lamp on pin G, so won't read the full 12v+e, 5 odd volts may be correct, but not an accurate way of measuring
Your colours are going to the correct pins, they always should have, so a bit worrying if you've had to change them, perhaps you put them on the incorrect pins when you took the connector apart, could that have happened?
Easiest test is as before, link ground to W = gauge should show full
Link ground to G - low fuel lamp should illuminate, if it doesn't perhaps the bulb has blown, might be worth checking before you go any further