When trying to set the rgb values of a ColorPicker object through a callback in python, the result is always off.
For example, if I try to set its value to {'rgb': {'r': 255, 'g': 242, 'b': 229, 'a': 1}}, it gets assigned the following values instead:

The g and b values are swapped, and the r value is set to 1. No clue why that happens.
I haven't yet fully figured out the cause of the issue, but I reckon it has something to do with the ColorPicker javascript object having its color attribute being (erroneously?) named rbg instead of rgb.