rgb

How can I make this code work?
terminator.r = rand(1*255);
terminator.g = rand(1*255);
terminator.b = rand(1*255);
terminator.r = rand(1*255);
terminator.g = rand(1*255);
terminator.b = rand(1*255);
terminator.r = round(rand(254))+1;
terminator.g = round(rand(254))+1;
terminator.b = round(rand(254))+1;
terminator.r = round(rand(255));
...