Implemented dynamic color change for the lantern.