>Thanks you so much for the sample code. Can you also tell tell us how convert that to Hex? 16777215 = #FFFFFF for web design use.
For web, you need to remember that Fox keeps its numbers in BGR, not RGB order. So when you transform your number
lcHex=right(transform(lnColorNumber, "@0"), 6)
you will get six hex digits but the first two will be for blue, then two for green, two for red. You would need to cut this string and put it together in RGB order.