PaletteStyle

Represents different styles for generating color palettes, aligned with Variant in the Material Design guidelines.

Each style defines a unique approach to how colors are chosen and combined, ranging from subtle to vibrant, playful, or monochromatic themes.

Entries

Link copied to clipboard

A calm theme with subdued colors that are not overly chromatic. Ideal for designs that require a more muted and relaxed color palette.

Link copied to clipboard

A theme with slightly more chromatic intensity than pure monochrome, featuring a balanced mix of neutral tones. Suitable for designs that aim for a minimalist yet colorful appearance.

Link copied to clipboard

A vibrant theme where colorfulness is at its peak, especially for the primary palette. Other palettes also feature enhanced chromatic intensity, making this theme perfect for lively and dynamic designs.

Link copied to clipboard

A playful theme where the source color's hue is intentionally omitted from the palette. This creates a unique and unexpected color scheme, adding an element of surprise to the design. Suitable for creative and non-traditional color schemes.

Link copied to clipboard

A playful and colorful theme similar to Expressive, where the source color's hue is excluded, leading to a diverse and lively palette. Ideal for designs that aim to be bold and eye-catching.

Link copied to clipboard

Another playful theme where the source color's hue is excluded, resulting in a palette reminiscent of a colorful fruit salad. This theme is perfect for fun, vibrant designs that want to evoke a sense of joy and energy.

Link copied to clipboard

A monochrome theme where colors are purely black, white, and shades of gray. This style is ideal for designs that require a classic, timeless look with no chromatic distractions.

Link copied to clipboard

A scheme where the source color is placed in the primaryContainer.

Link copied to clipboard

Similar to Fidelity, but with a slight variation:

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.