is there a function for that?
Printable View
is there a function for that?
I'm not sure there is as such. You could play around with the ToArgb method -
VB Code:
Dim oColour As System.Drawing.Color = System.Drawing.Color.Red dim intColour as int32 = oColour.ToArgb * -1
now you are just converting decimal to hex...