Table of Contents

Class Palette

Namespace
MudBlazor
Assembly
MudBlazor.dll

Represents a palette of colors used throughout the application.

public abstract class Palette
Inheritance
Palette
Derived
Inherited Members
Extension Methods

Constructors

Palette()

protected Palette()

Properties

ActionDefault

The default action color.

public virtual MudColor ActionDefault { get; set; }

Property Value

MudColor

ActionDisabled

The disabled action color.

public virtual MudColor ActionDisabled { get; set; }

Property Value

MudColor

ActionDisabledBackground

The background color for disabled actions.

public virtual MudColor ActionDisabledBackground { get; set; }

Property Value

MudColor

AppbarBackground

The appbar background color.

public virtual MudColor AppbarBackground { get; set; }

Property Value

MudColor

AppbarText

The appbar text color.

public virtual MudColor AppbarText { get; set; }

Property Value

MudColor

Background

The background color.

public virtual MudColor Background { get; set; }

Property Value

MudColor

BackgroundGray

The gray background color.

public virtual MudColor BackgroundGray { get; set; }

Property Value

MudColor

Black

The black color.

public virtual MudColor Black { get; set; }

Property Value

MudColor

Dark

The dark color.

public virtual MudColor Dark { get; set; }

Property Value

MudColor

DarkContrastText

The contrast text color for the dark color.

public virtual MudColor DarkContrastText { get; set; }

Property Value

MudColor

DarkDarken

The darkened value of the dark color.
This is calculated using ColorRgbDarken() if not set.

public virtual string DarkDarken { get; set; }

Property Value

string

DarkLighten

The lightened value of the dark color.
This is calculated using ColorRgbLighten() if not set.

public virtual string DarkLighten { get; set; }

Property Value

string

Divider

The color for dividers.

public virtual MudColor Divider { get; set; }

Property Value

MudColor

DividerLight

The light color for dividers.

public virtual MudColor DividerLight { get; set; }

Property Value

MudColor

DrawerBackground

The drawer background color.

public virtual MudColor DrawerBackground { get; set; }

Property Value

MudColor

DrawerIcon

The drawer icon color.

public virtual MudColor DrawerIcon { get; set; }

Property Value

MudColor

DrawerText

The drawer text color.

public virtual MudColor DrawerText { get; set; }

Property Value

MudColor

Error

The error color.

public virtual MudColor Error { get; set; }

Property Value

MudColor

ErrorContrastText

The contrast text color for the error color.

public virtual MudColor ErrorContrastText { get; set; }

Property Value

MudColor

ErrorDarken

The darkened value of the error color.
This is calculated using ColorRgbDarken() if not set.

public virtual string ErrorDarken { get; set; }

Property Value

string

ErrorLighten

The lightened value of the error color.
This is calculated using ColorRgbLighten() if not set.

public virtual string ErrorLighten { get; set; }

Property Value

string

GrayDark

The darkened gray color.

public virtual string GrayDark { get; set; }

Property Value

string

GrayDarker

The further darkened gray color.

public virtual string GrayDarker { get; set; }

Property Value

string

GrayDefault

The default gray color.

public virtual string GrayDefault { get; set; }

Property Value

string

GrayLight

The lightened gray color.

public virtual string GrayLight { get; set; }

Property Value

string

GrayLighter

The further lightened gray color.

public virtual string GrayLighter { get; set; }

Property Value

string

HoverOpacity

The opacity value for hover effect.

public virtual double HoverOpacity { get; set; }

Property Value

double

Info

The info color.

public virtual MudColor Info { get; set; }

Property Value

MudColor

InfoContrastText

The contrast text color for the info color.

public virtual MudColor InfoContrastText { get; set; }

Property Value

MudColor

InfoDarken

The darkened value of the info color.
This is calculated using ColorRgbDarken() if not set.

public virtual string InfoDarken { get; set; }

Property Value

string

InfoLighten

The lightened value of the info color.
This is calculated using ColorRgbLighten() if not set.

public virtual string InfoLighten { get; set; }

Property Value

string

LinesDefault

The default color for lines.

public virtual MudColor LinesDefault { get; set; }

Property Value

MudColor

LinesInputs

The color for input lines.

public virtual MudColor LinesInputs { get; set; }

Property Value

MudColor

OverlayDark

The dark overlay color.

public virtual string OverlayDark { get; set; }

Property Value

string

OverlayLight

The light overlay color.

public virtual string OverlayLight { get; set; }

Property Value

string

Primary

The primary color.

public virtual MudColor Primary { get; set; }

Property Value

MudColor

PrimaryContrastText

The contrast text color for the primary color.

public virtual MudColor PrimaryContrastText { get; set; }

Property Value

MudColor

PrimaryDarken

The darkened value of the primary color.
This is calculated using ColorRgbDarken() if not set.

public virtual string PrimaryDarken { get; set; }

Property Value

string

PrimaryLighten

The lightened value of the primary color.
This is calculated using ColorRgbLighten() if not set.

public virtual string PrimaryLighten { get; set; }

Property Value

string

RippleOpacity

The opacity for the ripple effect.

public virtual double RippleOpacity { get; set; }

Property Value

double

RippleOpacitySecondary

The opacity for the ripple effect on specific elements like filled buttons.

public virtual double RippleOpacitySecondary { get; set; }

Property Value

double

Secondary

The secondary color.

public virtual MudColor Secondary { get; set; }

Property Value

MudColor

SecondaryContrastText

The contrast text color for the secondary color.

public virtual MudColor SecondaryContrastText { get; set; }

Property Value

MudColor

SecondaryDarken

The darkened value of the secondary color.
This is calculated using ColorRgbDarken() if not set.

public virtual string SecondaryDarken { get; set; }

Property Value

string

SecondaryLighten

The lightened value of the secondary color.
This is calculated using ColorRgbLighten() if not set.

public virtual string SecondaryLighten { get; set; }

Property Value

string

Skeleton

The color for skeletons.

public virtual MudColor Skeleton { get; set; }

Property Value

MudColor

Success

The success color.

public virtual MudColor Success { get; set; }

Property Value

MudColor

SuccessContrastText

The contrast text color for the success color.

public virtual MudColor SuccessContrastText { get; set; }

Property Value

MudColor

SuccessDarken

The darkened value of the success color.
This is calculated using ColorRgbDarken() if not set.

public virtual string SuccessDarken { get; set; }

Property Value

string

SuccessLighten

The lightened value of the success color.
This is calculated using ColorRgbLighten() if not set.

public virtual string SuccessLighten { get; set; }

Property Value

string

Surface

The surface color.

public virtual MudColor Surface { get; set; }

Property Value

MudColor

TableHover

The color for table rows on hover.

public virtual MudColor TableHover { get; set; }

Property Value

MudColor

TableLines

The color for table lines.

public virtual MudColor TableLines { get; set; }

Property Value

MudColor

TableStriped

The color for striped rows in a table.

public virtual MudColor TableStriped { get; set; }

Property Value

MudColor

Tertiary

The tertiary color.

public virtual MudColor Tertiary { get; set; }

Property Value

MudColor

TertiaryContrastText

The contrast text color for the tertiary color.

public virtual MudColor TertiaryContrastText { get; set; }

Property Value

MudColor

TertiaryDarken

The darkened value of the tertiary color.
This is calculated using ColorRgbDarken() if not set.

public virtual string TertiaryDarken { get; set; }

Property Value

string

TertiaryLighten

The lightened value of the tertiary color.
This is calculated using ColorRgbLighten() if not set.

public virtual string TertiaryLighten { get; set; }

Property Value

string

TextDisabled

The disabled text color.

public virtual MudColor TextDisabled { get; set; }

Property Value

MudColor

TextPrimary

The primary text color.

public virtual MudColor TextPrimary { get; set; }

Property Value

MudColor

TextSecondary

The secondary text color.

public virtual MudColor TextSecondary { get; set; }

Property Value

MudColor

Warning

The warning color.

public virtual MudColor Warning { get; set; }

Property Value

MudColor

WarningContrastText

The contrast text color for the warning color.

public virtual MudColor WarningContrastText { get; set; }

Property Value

MudColor

WarningDarken

The darkened value of the warning color.
This is calculated using ColorRgbDarken() if not set.

public virtual string WarningDarken { get; set; }

Property Value

string

WarningLighten

The lightened value of the warning color.
This is calculated using ColorRgbLighten() if not set.

public virtual string WarningLighten { get; set; }

Property Value

string

White

The white color.

public virtual MudColor White { get; set; }

Property Value

MudColor