+ 2

How to make this code Generate random colors?

I have a code, Known as "Loading Screen 3d" which is present in my profile I want to make the program to shift from colours to colours, it should not stop at all! Also can you please fix the comments? Can anybody help me? Please i want it so i can put it on my Website! Thanks, Sen Luis Ajen

27th Nov 2016, 5:00 AM
Ryan Luisen
1 Resposta
0
function getRandomColor() { return "rgb(" + Math.floor(Math.random() * 256) + "," + Math.floor(Math.random() * 256) + "," + Math.floor(Math.random() * 256) + ")"; }
27th Nov 2016, 9:01 PM
Volts
Volts - avatar