Random() firsts random

I’m using 3 floats for R G B color and if I run my code. The first variable is always black and once I press the button to randomize the colors again it will change.

Can I make it that by running to program its start with standard R G B color instead of black? So I force the first random()?

1 Like

When the 3 floats (should be int) are global just set them in setup () first time

1 Like