code for color sensor