See the wiki
and discussion here.
Because this is a lot to write, what you might do (in Potlatch 2, at least), is find an existing “colored” track. click it, then highlight your new track and hit “R” to copy the tags of the old one.
It works in Potlatch1 as well,
but it also copies the relation, so you should pay attention, and create a new relation.