How does this code work? It uses jQuery to create a random color generator but I don't understand the maths

前端 未结 0 1122
心在旅途
心在旅途 2021-02-15 07:32
var colors = new Array(
[169,96,238],
[255,51,61],
[151,255,255],
[255,203,87],
[255,105,180],);

var step = 0;
//color table indices for: 
// current color left
// next         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题