you mean like this? that’s the first I try but it don’t work either 🙁
R1=thisComp.layer("color").effect("R1")("Slider");
G1=thisComp.layer("color").effect("G1")("Slider");
B1=thisComp.layer("color").effect("B1")("Slider");
options = [[R1,G1,B1, 255], [0, 255, 0, 255], [0, 0, 255, 255]];
seedRandom(index, true);
r = Math.floor(random(3));
options[r]/255;