The  LEDs  (light  emitting  diodes) are used to emit red, blue and green colored light whereas the  LDRs (light dependent resistors) are  used to sense  the intensity of the reflected light from the object. The output of  the  sensor  is  analyzed  and  interpreted  by  an  Arduino UNO and the result is displayed using an LCD. 