How do I store color transparency (alpha)?

Hi
I am trying to store colors and transparency in a state so that i can change colors dyanamically.

I got the color HEX code stored in text, but how do i store the alpha?

Please help

Try this:

2 Likes

you can just add it to the hex color, read this Hexadecimal color code for transparency · GitHub

1 Like

Oh my god. After 10 years and this is complete new to me! Must have been living in a cave :sweat_smile: tanks both :pray:

1 Like