Non-repetitive random code that changes color

How can I design a non-repetitive random code that changes color when approved?

Already @Taifun shared about this kind of stuffs in his snippets

1 Like

Do you mean something like random unique password ?

approved by whom ?

requires the configuration of the qr code option to establish an order of command when it is accepted change to a different color and likewise when it is denied it put another color