commit color sensor example