Yellow goes to the battery, this keeps the memory for the preset stations, clock etc. Red goes to a power source that only comes on when the key is turned on. Blue is for the power antenna or is sometimes a remote power wire for an amplifier turn on. Black is ground.