In This Article

ColorShadeGenerator Class

Provides functionality for generating various shades of a source Color.

public static class ColorShadeGenerator
Inheritance:
object object

Methods

Generate(Color, string)

Generates a few shades for the specific source Color.

public static IList<NamedColorShade> Generate(Color sourceColor, string sourceColorName)
Parameter Type Description
sourceColor Color

The source Color to examine.

sourceColorName string

The source color's name.

Returns

IList<NamedColorShade>:

A collection of NamedColorShade objects, where each represents a shade of the source Color.

Inherited Members