How Can I Sense a Nearby Dark Object and Ignore More Highly Reflective Objects Further Away?
the reason is that different semiconductor materials are used for different color LEDs, and some semiconductor materials are more expensive than others; another reason is that manufacturing costs are different. White LEDs are the most expensive because red, green and blue LEDs are combined together to make a white LED.