manage random colors for the branches