27.06.2017, 06:56
You can use hex value, like 0x0000FF for blue only.
Or specify color in 0..255 range like this:
Or specify color in 0..255 range like this:
Code:
r = 0
g = 0
b = 255
rgb = bit.bor(bit.lshift(r, 16), bit.lshift(g, 8), b)