Complete Style Control Reference
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:
Set the background color of a Button control (with declaration and script)
Complete Style Control Reference
Your message has been sent to W3Schools.