Skip to main content
All docs
V25.2
  • ThemeFluentProperties.SetCustomAccentColor(String) Method

    Applies a custom accent color to a Fluent theme.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.Resources.v25.2.dll

    NuGet Package: DevExpress.Blazor.Resources

    Declaration

    public void SetCustomAccentColor(
        string color
    )

    Parameters

    Name Type Description
    color String

    The accent color.

    Remarks

    The color parameter 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 ThemeFluentProperties class description for additional information and an example.

    See Also