RGB LED control for mining lantern