Documentation of Payload formate for XBee module

Hi,
I am using XBee s2c module and I have done basic communication with Sengled Smart bulb, I was able to control basic functions like “on/off” and “change brightness” using below link.

https://gist.github.com/bgentry/6e4f7840b22c9743640ca38ade6a844a

Now, I want to change the color of the bulb. But I don’t have knowledge of how to frame the formate of payload. Is there any documentation or tutorial about this? If anyone has, please share with us.

Thanks!!