IIT Interview Question

How would you interface a colour sensor