First of all, "HUGE_EXPLOSION" isn't a command, instead use:
spawn particle (HUGE_EXPLOSION) at location (location of (me))
Second, you can't teleport colors. Instead, you'll have to (in nested loops inside the "rainbow" function loop) make a drone fly all around you and for every round around, place different colored concrete blocks around you.
Hope this helped!