Yellow goes to battery +, red goes to ignition + (or accessory of your boat is equipped), black goes to battery - . Grey wires are right front, white is left front, green left rear, and purple right rear. Blue is for amp turn on or power antenna.
It isn't rocket science. If your boat doesn't have a accessory, connect red and yellow both to battery + .