What is the meaning of the colour-coded graphical view?

Driver and Vehicle activity is displayed using a colour coded system. Driving is illustrated in red, Other Work in blue, Periods of Availability in yellow and Rest/Break in green.