HarryMangurian
Technical User
I want to use the standard VB .NET ColorDialog control and then obtain the RGB components of the selected color.
Can this be done ?
Can this be done ?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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))