RGB « hexadecimal « Java Data Type Q&A

1. extratinf RGB components frm HEX digit in java    stackoverflow.com

i have color= #12FFFF . that is color in this format where 12FFFF are hexadecima numbers.Now i want to get the each of indepenent R,G,B componetents in decimal. How do i ...

2. How to convert hex to rgb?    stackoverflow.com

How can i convert hex color to rgb code in Java? Mostly in google sample is convert from rgb to hex