How to change label color in vb.net using codes?
You have defined a variable which is not the right way to do it. A label exposes some properties and to achieve your goal you simply do this:
Label1.BackColor = Color.Aqua
Use BackColor property
label1.BackColor=Color.Red
First add the following import statement to the top of your class
Imports System.Drawing
Then use this code
label1.BackColor=Color.Red