Function getwebcolor Return Substr(Transform(GetColor(),'@0'),5)So to convert a numeric color value into hex, you can use
lcHexColor=Substr(Transform(lnColor,'@0'),5)>We have the following code in our VFP 6.0 to send an email to MS Outlook in a specific font, size and color.
>loEmailItem.HTMLBody = [<html><font face = ]+ Slcrm.cbodyfont+[>]; > + [<font size = ] + lnsize + [> <font color = "="#ff0000">] + This.Parent.EdtNotes.Value; > + [</font></html>] >>=====