The BackColor property is used to set or return the background color of a control.
Attribute | Description |
---|---|
color | The color to set as background color of a control. Must be a valid HTML color |
The following example sets the background color of a button: