Help!!! Cant Find Wires!! To Turn On Hu

I hope someone can help me and it's gonna look a lil dumb but I was running my factory HU on my Ford Ranger 2001 ... and tried to put a pioneer stereo but I already found the 8 wires for the speakers but I don't know what to do with my other cables:
BLACK: ground
YELLOW: 12VOLT BATTERY
RED: IGNITION
BLUE: REMOTE
ORANGE: DIMMER
I don't know what goes with what and on the factory wires I still have 6 wires left and only 5 wires left on the Pioneer