To get two colors on an LED light, try utilizing a bi-color or RGB LED light. Bi-color LED lights typically contain a common cathode and two anodes, each coupled to a distinct color LED chip. Each color may be illuminated independently or concurrently to form a blended hue by varying the current to the anode. For example, you may use Arduino programming to control a bi-color LED light to switch between several color states, such as all off, color 1 on, color 2 on, and color 1 and color 2 on together to make a mixed color.

For more advanced color management, consider an RGB LED light, which comprises three types of LED chips: red, green, and blue. A wide range of color combinations may be created by varying the brightness of each color. The control of RGB LED lights often necessitates the use of a microcontroller, such as Arduino or STM32, and the color change may be accomplished by creating the appropriate program.






