Well yeah, it is definitly possible without any array.
The code I gave you can be easilly be scaled for 3 or more variables. I’m atually using something really similar to send the color of each LEDs in this porject: A universal ambilight. And it is way more than 3 variables