Convert Hex color to RGB

Administrator

VB.NET Forum Admin
Joined
Jun 3, 2004
Messages
1,462
Programming Experience
10+
I have a color #003399 that I need to set to a label's backcolor. How would I do this?
 
this isnt the exact colour but it's pretty close:
Label1.BackColor = Color.Blue

i dont know how to set a color by hex, only the color object
 
Back
Top