In this video I explain how to sense color of objects with Arduino.
You can find more detailed description, and source code in this page: https://sharedinventions.com/?p=209
I have used BPX-43 photransistors as sensors. But I'm not sure I'm using then right.