Table of Contents

Class ColorScheme

Namespace
Dynamicweb.Content.Styles.ColorSchemes
Assembly
Dynamicweb.dll

Represents a color scheme

public sealed class ColorScheme
Inheritance
ColorScheme
Inherited Members

Properties

BackgroundColor

Gets or sets the background color.

public string? BackgroundColor { get; set; }

Property Value

string

Remarks

The value should be a CSS hexadecimal color. See examples here

CustomColors

Gets or sets the custom colors

public IList<CustomColor> CustomColors { get; init; }

Property Value

IList<CustomColor>

ForegroundColor

Gets or sets the foreground color.

public string? ForegroundColor { get; set; }

Property Value

string

Remarks

The value should be a CSS hexadecimal color. See examples here

GroupId

Gets or sets the color scheme group id.

public required string GroupId { get; set; }

Property Value

string

Id

Gets or sets the color scheme id.

public required string Id { get; set; }

Property Value

string

Name

Gets or sets the color scheme name.

public required string Name { get; set; }

Property Value

string

PrimaryButtonColor

Gets or sets the primary button color.

public string? PrimaryButtonColor { get; set; }

Property Value

string

Remarks

The value should be a CSS hexadecimal color. See examples here

SecondaryButtonColor

Gets or sets the secondary button color.

public string? SecondaryButtonColor { get; set; }

Property Value

string

Remarks

The value should be a CSS hexadecimal color. See examples here

To top