ilittlewood does exactly this in this Video. Using the wave of your hand to change the colors. BasiX123 uses apple scripts.
Playing around with some code to control my Philips HUE lights through my LEAP Motion controller.
User BasiX123 used some Apple Scripts to control my Philips Hue lamps with simple and intuitive gestures.