Just a heads up.
Since setting color has to be a string you cant use variables, or loops like "rgb(loopindex("r"),loopindex("g"), loopindex("B"))"
The quotes within quotes makes C2's error checking kick in.
You can use double quotes, and it will be accepted, since its a string, but the browser cant make heads or tails of it. IE loopindex(""x"").
What does work is concatenating everything into one string like:
"rgb("&loopindex("n")&","&loopindex("n")&","&loopindex("n")&")"
Or
"rgb("&array.at(loopindex("x"),loopindex("y))&","&&array.at(loopindex("x"),loopindex("y))&","&&array.at(loopindex("x"),loopindex("y))&")""
and if you want to use values above 255, or below 0.. which you cant use
"rgb("&clamp(array.at(loopindex("x"),loopindex("y),0,255)&","&clamp(array.at(loopindex("x"),loopindex("y),0,255)&","&clamp(array.at(loopindex("x"),loopindex("y),0,255)&")""
Yeah, maybe I'll go learn to use hsl now.