Your python programs are for an “RGB” module. They do not work with the RGB ones I have. Where did you get RGB models of these? The official Framework ones are only white.
This does work perfectly fine with the framework offical white modules but I had been playing with some 3d printed modules with hand soldered rgb leds. They dont look pretty but was going to work towards a custom board but have not had time