Help me with run tree function (for) at same time

Hello
I wanna change three value at same time with for.
To use it in Neopixel fot RGB colors for example increase each tree of them at the same time for fade effect instead of pixels.setBrightness(i);
Thanks.