When you set the colour change this change is not reflected in the sample label until you leave the element you have changed the colour of and select the element again.