Monitoring the colour of sugar