Convert any HEX color code into its decimal equivalents — per channel and as a full 24-bit integer.
How it works: Each HEX digit pair is a base-16 number. FF = 255, 00 = 0. The full integer = R×65536 + G×256 + B.