can i convert an rgb value to hex for use in html ? : 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 (, October 28, 2000

Moderation questions? read the FAQ