TonalPalette

Sealed Class
A convenience class for retrieving colors that are constant in hue and chroma, but vary in tone.

Static Fields

CommonTones: int[]

Static Properties

CommonSize: int

Instance Properties

AsList: List<int>
Chroma: double
Hue: double
KeyColor: Hct

Static Methods

FromHct(hct: Hct): TonalPalette
FromList(colors: IReadOnlyList<int>): TonalPalette
Of(hue: double, chroma: double): TonalPalette

Instance Methods

Equals(other: TonalPalette): bool
Get(tone: int): int
Returns the ARGB representation of an HCT color at the given tone.
GetHct(tone: double): Hct
Returns the HCT color at the given tone.
Equals(obj: object): bool
GetHashCode(): int
ToString(): string

Inherited Members

Extension Methods

ToColorToMaterialColorToStyleColorDescribeIdentityShortHashToStringNullable

On this page