Do you know why it was thought that blue would repel ants and preserve sugar?
It was believed that the color itself was unpleasant for ants and would keep they from climbing on the glass. In the 18th century, sugar was an expensive luxury good, so people were interested in ways to keep pests away!