Im trying to concatenate three hex values(redval,greenval,blueval) into a RGB Value(0xFFFFFF) is this possible? I've been trying for a while and it just wont work...(i already googled for help and still couldn't find anyone who has successfully done it.
I have three potentiometer each with a integer variable(redval,greenval,blueval) with a value between 0-255.
What i want to do is turn these three variables into a color code( ie. 0x00FF00 or 0xFFFFFF) that is represented by the potentiometers.