Dim c As Color, i As Integer, k As Color
'Create a red color and assign to c
c = Color.Red
'Assign the color back to it's numeric value
i = c.ToArgb()
'Show the numeric value converted back to a color.
Debug.WriteLine(k.FromArgb(i))
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.