Black is ground

Red is 12v key on

Green goes to coil negative

White is for your light