In This Article

DefaultColorPaletteFactory Class

A IColorPaletteFactory implementation that creates a default palette.

public class DefaultColorPaletteFactory : ColorPaletteFactoryBase, IColorPaletteFactory
Inheritance:
object ObservableObjectBase ColorPaletteFactoryBase object
Implements:
IColorPaletteFactory

Constructors

DefaultColorPaletteFactory()

Initializes an instance of the class.

public DefaultColorPaletteFactory()

Properties

AmberMidtoneColor

The midtone color for the amber color ramp that will be generated.

public Color AmberMidtoneColor { get; set; }

Property Value

Color:

The midtone color value.

BlueMidtoneColor

The midtone color for the blue color ramp that will be generated.

public Color BlueMidtoneColor { get; set; }

Property Value

Color:

The midtone color value.

CyanMidtoneColor

The midtone color for the cyan color ramp that will be generated.

public Color CyanMidtoneColor { get; set; }

Property Value

Color:

The midtone color value.

EmeraldMidtoneColor

The midtone color for the emerald color ramp that will be generated.

public Color EmeraldMidtoneColor { get; set; }

Property Value

Color:

The midtone color value.

FuchsiaMidtoneColor

The midtone color for the fuchsia color ramp that will be generated.

public Color FuchsiaMidtoneColor { get; set; }

Property Value

Color:

The midtone color value.

GreenMidtoneColor

The midtone color for the green color ramp that will be generated.

public Color GreenMidtoneColor { get; set; }

Property Value

Color:

The midtone color value.

IndigoMidtoneColor

The midtone color for the indigo color ramp that will be generated.

public Color IndigoMidtoneColor { get; set; }

Property Value

Color:

The midtone color value.

LimeMidtoneColor

The midtone color for the lime color ramp that will be generated.

public Color LimeMidtoneColor { get; set; }

Property Value

Color:

The midtone color value.

NeutralMidtoneColor

The midtone color for the neutral (e.g., grayscale) color ramp that will be generated.

public Color NeutralMidtoneColor { get; set; }

Property Value

Color:

The midtone color value.

Remarks

If this midtone color is fully desaturated (RGB component values are all the same), the entire neutral color ramp will be pure grayscale. When this midtone color has RGB component values that differ, the darker color ramp shades will become more saturated by the hue. For instance, when having a higher blue component value than red and green, the mid/dark shades in the color ramp will carry a blue tint. This effect increases as the difference between RGB component values increases, so keep the RGB component values close together if minimal saturation is preferred.

OrangeMidtoneColor

The midtone color for the orange color ramp that will be generated.

public Color OrangeMidtoneColor { get; set; }

Property Value

Color:

The midtone color value.

PinkMidtoneColor

The midtone color for the pink color ramp that will be generated.

public Color PinkMidtoneColor { get; set; }

Property Value

Color:

The midtone color value.

PurpleMidtoneColor

The midtone color for the purple color ramp that will be generated.

public Color PurpleMidtoneColor { get; set; }

Property Value

Color:

The midtone color value.

RedMidtoneColor

The midtone color for the red color ramp that will be generated.

public Color RedMidtoneColor { get; set; }

Property Value

Color:

The midtone color value.

SkyMidtoneColor

The midtone color for the sky color ramp that will be generated.

public Color SkyMidtoneColor { get; set; }

Property Value

Color:

The midtone color value.

TealMidtoneColor

The midtone color for the teal color ramp that will be generated.

public Color TealMidtoneColor { get; set; }

Property Value

Color:

The midtone color value.

VioletMidtoneColor

The midtone color for the violet color ramp that will be generated.

public Color VioletMidtoneColor { get; set; }

Property Value

Color:

The midtone color value.

YellowMidtoneColor

The midtone color for the yellow color ramp that will be generated.

public Color YellowMidtoneColor { get; set; }

Property Value

Color:

The midtone color value.

Methods

Create()

Creates and initializes a ColorPalette.

public override ColorPalette Create()

Returns

ColorPalette:

The ColorPalette that was created.

Inherited Members

Extension Methods