Folder tracks and colors

I want to have the tracks inside a folder to get the color of the folder track.
For example:
I have a template, but when importing some tracks from somewhere, the tracks stay in the same color they had when created.

Can someone give me a tip on that?