I'm trying to convert a string into a color, but I don't find the right way. Tried with a INT as string and a HEX as string but always get error. (The value is returned by a POST-GET from server so it is always a string).
Dim C as string "6291456" 'value as INT
activity.color = C
-> Error
Dim C as string = "0xfff0f8ff" 'value as HEX
activity.color = C
-> Error
What string format should I use so that I can convert it to a color?
Dim C as string "6291456" 'value as INT
activity.color = C
-> Error
Dim C as string = "0xfff0f8ff" 'value as HEX
activity.color = C
-> Error
What string format should I use so that I can convert it to a color?