Node-red with Müller-Licht tink (ZBT-ExtendedColor)

I have managed to get the format, I can switch the color. Sending only the xy values as an array to the xy node will do.
Does anyone know of a RGB to XY converter? I use homee as my control center and have managed to get RGB color information from it.

Matthias