Yes! I have an RGB sensor that could handle that, but it's more bulky than the simple IR on/off sensor I went with. Could be four colors, or four shades of a color.

Why do you need a sensor? Don't you always know what face each cube is showing?