Color Detection Sensor

Hi!

I am looking for sensor which can detect 3 collors. These colors are: white, black and silver (aluminium foil tape).

I tried out QTR-1A reflectance sensor but it cannot sepparate between white and silver.

Which sensor should I buy? RGB color sensor?

white and silver are both high reflective, so not trivial

have you tried different colour's of light? by shining R G B W light one after another on a subject a grey scale sensor can determine the colour to some extend. NB a red light on a green object will absorb where an orange subject will reflect more.

You might see the difference between white and silver if you change the angle of the light source.
White will probably diffuse the light more than silver (but that is an assumption).