Contrary to duct tape, electrical tape uses include protecting, insulating, and shielding wire and cables used in electrical applications. Electrical tape is not designed as a substitute for wire nuts.
Different colored electrical tape denotes specific meaning in electrical applications.
U.S. electrical tape color coding: