Convert Hex color to RGB

Administrator

VB.NET Forum Admin
Joined
Jun 3, 2004
Messages
1,461
Programming Experience
10+
I have a color #003399 that I need to set to a label's backcolor. How would I do this?
 

JuggaloBrotha

VB.NET Forum Moderator
Staff member
Joined
Jun 3, 2004
Messages
4,524
Location
Lansing, MI; USA
Programming Experience
10+
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
 
Top Bottom