can i convert an rgb value to hex for use in html ?

greenspun.com : LUSENET : MW Software's Visual BASIC Descusion System : One Thread

if i have an rgb value of 120,120,120 can i convert it to the equivilent value in hex i am currently storing the value in a integer datattype irgb=120120120 any ideas would be appreciated

thanks pete

-- Peter (PKB20@hotmail.com), October 28, 2000


Moderation questions? read the FAQ