RGB LED crossfader with a distance sensor