• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Hex to rgba
#3
(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
[Image: qPwh60X.png]

  Reply


Messages In This Thread
Hex to rgba - by KarolPL - 2020-04-20, 01:31 PM
RE: Hex to rgba - by Y_Less - 2020-04-21, 04:21 PM
RE: Hex to rgba - by EvilShadeZ - 2020-05-08, 03:12 PM

Forum Jump: