Special "symbol" display

I want to display a symbol/color radio button as in the attached. I need to change the color based on a HEX value I will attach to it. Anyone know how to do that?

Screenshot 2024-12-02 at 9.57.46 AM

🚀 Scriptcase 9.12 is now available! Check out the new features here 👉🚀 Next Monday (02/24), Scriptcase 9.12 will be released! Check out the new features before anyone else 👉