Use of proximity sensor to control RGB diodes