ASP.NET ForeColor Property
the Style control
Definition and Usage
The ForeColor property is used to set or return the foreground color of the control (usually the color of the text).
Syntax
webcontrol id=" id " ForeColor= "color" runat="server" /> The following example sets the foreground color of a button: Demo Example » Set the Button control's text color (with declaration and script)
property
Description
color
The color set as the foreground color of the control. Must be a valid HTML color。
Example
Try it - Demo
the Style control