Personal blog and hacks by Raymundo Cassani

Posts tagged with: electronics

Often, there is the need of generating a random RGB color for LEDs. The most common approach is to obtain a random value between 0 and 1 (or 0 and 255) for the Red, Green and Blue channels. RGB cube This approach, however, leads to dark and light colors which …