Retrieve current RGB color with get_prop

I am able to retrieve current (calculated) RGB value of the light using get_prop('rgb'). I am also familiard with the calculation formula defined in Yeelight API documentation (R*65536+G*256+B)

However, how do I convert the return value of get_prop(‘rgb’) to a RGB value? E.g. how do I get the real color of the value of 4863 ?

Thank you

I’ve managed to do it using get_prop(‘hue’) and get_prop(‘sat’) and then perform a calculation from HSV to RGB. But if anyone has a more straightforward solution I’d appreciate it.