My manual is the Subaru Impreza 2006 Model Year Wiring book, which was issued April 2005, and printed in the U.S.A.
So, I know for a fact that this manual has some pre-2006 items in it, but none-the-less, I'll give you what I have.
NON HID HEADLAMPS
Left (F125)
1 Red = high-beam ground [that flows to the high-beam relay]
2 Yellow / Red Stripe = low-beam ground [that flows to the low-beam/DRL relay]
3 Black = ground to chassis for front clearance lamp (City Light) & North American side-marker
4 Black = ground to chassis for turn-signal
5 Red / Blue Stripe = main power feed for both low and high-beams
6 X
7 Red / Yellow Stripe = power feed for front clearance lamp (City Light) & North American side-marker
8 Black / Green Stripe = turn-signal power
Right (F126)
1 Red = high-beam ground [that flows to the high-beam relay]
2 Yellow / Red Stripe = low-beam ground [that flows to the low-beam/DRL relay]
3 Black = ground to chassis for front clearance lamp (City Light) & North American side-marker
4 Black = ground to chassis for turn-signal
5 Blue / White Stripe = main power feed for both low and high-beams
6 X
7 Red / Yellow Stripe = power feed for front clearance lamp (City Light) & North American side-marker
8 Light Green / Black Stripe = turn-signal power
HID HEADLAMP SYSTEM
Left (F125)
1 White / Black Stripe = high-beam ground [that flows to the high-beam relay and HID relay]
2 Black = ground to chassis for HID low-beam
3 Black = ground to chassis for front clearance lamp (City Light) & North American side-marker
4 Black = ground to chassis for turn-signal
5 Red / Blue Stripe = power high-beam
6 Red / Blue Stripe = power HID low-beam
7 Red / Yellow Stripe = power feed for front clearance lamp (City Light) & North American side-marker
8 Black / Green Stripe = turn-signal power
Right (F126)
1 Red = high-beam ground [that flows to the high-beam relay and HID relay]
2 Black = ground to chassis for HID low-beam
3 Black = ground to chassis for front clearance lamp (City Light) & North American side-marker
4 Black = ground to chassis for turn-signal
5 Blue / White Stripe = power high-beam
6 Blue / White Stripe = power HID low-beam
7 Red / Yellow Stripe = power feed for front clearance lamp (City Light) & North American side-marker
8 Light Green / Black Stripe = turn-signal power
Connector (both sides / non-HID & HID)
Top w/release tab
1 2 3 4
5 6 7 8