You can change the color of a function displayed as a horizontal bar in the timeline graph. Click the Color column of the corresponding function, and select the color of your choice from the Color window that appears.