Electronic – Colour correcting RGB LEDs – possibly with science

colourledrgb

I have some RGB LEDs (eBay – no datasheet, 4 pin, common cathode, 5mm). I am colourblind.

I'd like to create a palette of colours which appear distinctly for most people's eyes, perhaps 16 colours or more. How could I generate this palette?

I guess that the colour produced will be far from a perfect match to the duty cycle applied.

The human eye is apparently more sensitive to green, could I use this (and other factors) to improve the colour output?

Best Answer

Well, the easy method would be to find a friend who can see colors and ask him to pick 16 colors for you.

The first 8 colors (7 if you don't count black) are easy...just run through all the possible combinations of on/off LEDs. To get more than that, you'll need to vary the brightness of the individual colors. Generally you vary LED brightness not via voltage, but via PWM (very quickly turning the LED on and off. Spending more time off to make it appear dimemr)