I had a question kind of like this earlier but mine was cuz of my cars wiring harness.
But in your case, you usually just match the colors from your HU's harness to the cars harness. But just to be on the safe side, go to the12volt.com and look for your cars wireing harness and see what each color is, then look on your HU's owners manual and match everything.