Each time you duplicate a lollipop, you'll get a random hue.
The candy material has a bit of fake volume absorption and a bit of fake colored shadows. Not sure it was even necessary.
I wish I knew how to change a lollipop to a particular color. But, I don't understand how the colors are chosen within this blend file, because they all seem to use the same material.