I was looking around without any luck how to convert some color code into plain RGB (255,255,255). I have this kind of number like
5953244 Yellow
12868826 Pink
12356730 Pale Blue
5758835 Green
I truly don’t understand how to take this numbers and process them into regular RGB or what kind of RGB type are.
An int is large enough to hold an ARGB value or any order (RGBA, BGR) and the int value itself is not as important as the individual bytes it contains. Different color spaces requires different bitwise operations since the channel will be located at different bytes. The following is an example that would work for
RGBandARGB.Output: