I am looking for a way to set the background color of a button to the current value stored in the clipboard (if it is a HEX value). Otherwise, it should fall back to the standard value.
Let's say I copy the value #ff0000 so that it is stored in the clipboard, the button should become red.
Any way to archive that?
Thanks!