See: https://kivy.org/doc/stable/api-kivy.properties.html?highlight=properties#observe-using-on-propname
When the kivy property changes self, instance and value are passed to the event handler.
The python convention is the use CapWords for classes and snake_case for methods. You might want to change the method RGB to rgb
See: https://pep8.org/#class-names
Im not sure what you are trying to do – but you might find some of the utils helpful: https://kivy.org/doc/stable/api-kivy.utils.html?highlight=utils#kivy.utils.rgba
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/be33cb2d-20f0-4158-aaf8-ec456771509fn%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/GgIYEjRxmBA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/63d18500.810a0220.c2cc.262aSMTPIN_ADDED_MISSING%40gmr-mx.google.com.