Skip to main content
All docs
V24.1

DxFontSettings.Color Property

Specifies the element’s text color.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public string Color { get; set; }

Property Value

Type Description
String

The text color.

Remarks

The Color property accepts the following formats:

  • Longhand and shorthand hexadecimal color values: #ffff00, #ff0.
  • RGB and RGBA color codes: rgb(255, 0, 0), rgba(0, 230, 0, 0.3).
  • HTML color name (case-insensitive): red, DarkGreen.

Refer to the DxFontSettings class description for more information and an example.

See Also