local color=string.format("0x%x",math.random(0,255))..string.format("%x",math.random(0,255))..string.format("%x",math.random(0,255))
随机数0-255获得rgb
local r, g, b=math.random(0,255), math.random(0,255), math.random(0,255)
local hex=string.format("0x%x",r)..string.format(g)..string.format("%x",b)