I have the following colour values - 0xFFFF40, 0xFFFF20, 0xff5099.
I want to convert these C++ codes into RGB values, how would I need to go about doing this?
Thanks
Edit: I would basically want to store these values in 3 different unsigned shorts:
unsigned short red;
unsigned short green;
unsigned short blue;