hi.frnd.
i have redsum, greensum,blue (in radix 10).
now i have to convert them into hexaform individually .
so now i have hexred,hexgreen,hexblue in string type by using Integer.tohexString();
(q: but i want them to be in int and also in hexa form).
Then i should get them in form HRHGHB of type int.
Thanks HelloWorld922 with your help and guidance,i could finish my project all i did was implement the CustomIndexOf method which you gave me and changed some lil stuffs and it worked like magic...Thanks and May God Bless you and give you more knowledge to lead the beginners. I will be deleting the post since it can affect my plagarism results during submission.Hope u dont mind.Thanks again