2020-04-20, 01:31 PM
Hi. Does anyone have a function that changes hex to rgba? I need this function in #define
[Pawn] Hex to rgba
|
2020-04-20, 01:31 PM
Hi. Does anyone have a function that changes hex to rgba? I need this function in #define
2020-04-21, 04:21 PM
Hex IS RGBA. They are both just numbers.
2020-05-08, 03:12 PM
(2020-04-21, 04:21 PM)Y_Less Wrote: Hex IS RGBA. ?They are both just numbers. I think he meant converting an RGBA hex colour into 4 separate integer variables representing each channel. @OP This include has a function called HexToInt that does exactly that. https://github.com/Gammix/Colors-Library-Include |