red/green/blue photoelectric sensor