Hue send color command to blub

Hi
I bought a Xiaomi magic cube and I would very much like to change the color of my hue lights by turning the cube.
I got the angel from the cube and I can change the light intensity with the angel, but I would love to change the color instead.
I have the following hue item:

Dimmer Kaempe_Dimmer “Kaempe_Dimmer [%d %%]” (All_Light_dimmer) {channel=“hue:0210:00178820ae73:15:color”}

and I just need to know how to tranlate the angel into a hue command. I can see from my karaf log than the item recives the command as (“color”, “colortemperatur”, “britness”).
Can anyone help?

I found this solution
var hsb = HSBType::fromRGB(200, 100, 100)
item.sendCommand(hsb)