For the color decimal number,
I think the RGB is in hex that you have to convert to a decimal number like $ff ff ff
where red is 00-ff green 00-ff blue 00-ff which gives you 0-255 for red 0-255 for green 0-255 for blue
so all red would be "ff 00 00" converts to decimal value 16711680
all blue would be "00 00 ff" equals decimal value 255
|