main.js color sensor

color sensor redesign