OH2 Philips Hue RGB Values

Is it possible to return the individual values of a Red, Green, and Blue when changing the color of a bulb?

I’ve finally gotten a Lightify working with OH2, and am trying to coordinate the changing of the colors of Hue and Lightify together.

Should this work to get a Red, Green, and Blue of a Philips Hue bulb?

var color_value = FF_Light_FamilyColorGroup.state as HSBType
   var red = color_value.red / 100 * 255
   var green = color_value.green / 100 * 255
   var blue = color_value.blue / 100 * 255