Inherit trail color

Hi,
I wonder how would I be able to make the trail to inherit it’s color from my skeleton mesh? I need my character to emit trail when I press boost. I made it emitting constant colors but I’d like to have the emitter to trail the mesh’s colors instead (kinda like motion blur effect)