HELIX.Coloring.Material
Namespace
Static Classes
BlendStatic Class
Functions for blending in HCT and CAM16.
ContrastStatic Class
Utility methods for calculating contrast given two colors,
or calculating a color given one color and a contrast ratio.
Dislike AnalyzerStatic Class
Check and/or fix universally disliked colors.
Hct SolverStatic Class
A class that solves the HCT equation.
Material Color ExtensionsStatic Class
Extension methods for working with Unity colors and Material Color Utilities.
Unity Color values are treated as gamma-space colors.
Material ColorsStatic Class
Flutter-compatible Material color constants and exact fixed swatches.
This uses the hard-coded Flutter Material 2 color tables, not generated tonal palettes.
Material Color UtilsStatic Class
Color science utilities.
Utility methods for color science constants and color space
conversions that aren't HCT or CAM16.
Material Dynamic ColorsStatic Class
Tokens, or named colors, in the Material Design system.
Enums
Tone PolarityEnum
Describes the difference in tone between colors.
VariantEnum
Set of themes supported by Dynamic Color.
Classes
Cam16Sealed Class
CAM16, a color appearance model.
Contrast CurveSealed Class
A class containing a value that changes with the contrast level.
Core PalettesSealed Class
Comprises foundational palettes to build a color scheme.
Dynamic ColorSealed Class
A color that adjusts itself based on UI state provided by DynamicScheme.
Dynamic SchemeClass
Constructed by a set of values representing the current UI state and
provides a set of TonalPalettes.
Fixed Material Accent ColorSealed Class
Exact pre-created accent swatch.
Use this when you need to match Flutter accent tables exactly.
Fixed Material ColorSealed Class
Exact pre-created standard swatch.
Use this when you need to match Flutter's hard-coded tables exactly.
HctSealed Class
HCT, hue, chroma, and tone.
Key ColorSealed Class
Key color is a color that represents the hue and chroma of a tonal palette.
Scheme ContentSealed Class
A scheme that places the source color in PrimaryContainer.
Primary Container is the source color, adjusted for color relativity.
Tertiary Container is an analogous color, specifically the analog found
by increasing hue on a 6-division wheel.
Scheme ExpressiveSealed Class
A Dynamic Color theme that is intentionally detached from the input color.
Scheme FidelitySealed Class
A scheme that places the source color in PrimaryContainer.
Tertiary Container is the complement to the source color.
Scheme Fruit SaladSealed Class
A playful theme - the source color's hue does not appear in the theme.
Scheme MonochromeSealed Class
A Dynamic Color theme that is grayscale.
Scheme NeutralSealed Class
A Dynamic Color theme that is near grayscale.
Scheme RainbowSealed Class
A playful theme - the source color's hue does not appear in the theme.
Scheme Tonal SpotSealed Class
A Dynamic Color theme with low to medium colorfulness and a tertiary
palette with a hue related to the source color.
Scheme VibrantSealed Class
A Dynamic Color theme that maxes out colorfulness at each position in the
primary tonal palette.
Temperature CacheSealed Class
Design utilities using color temperature theory.
Analogous colors, complementary color, and cache to efficiently, lazily,
generate data for calculations when needed.
Tonal Material Accent ColorSealed Class
Generated accent swatch backed by a tonal palette.
Useful if you want accent-style indexing but still generated from HCT.
Tonal Material ColorSealed Class
Generated swatch backed by a tonal palette.
This replaces the old MaterialColor wrapper behavior.
Tonal PaletteSealed Class
A convenience class for retrieving colors that are constant in hue and
chroma, but vary in tone.
Tone Delta PairSealed Class
Documents a constraint between two DynamicColors, in which their tones must
have a certain distance from each other.
Viewing ConditionsSealed Class
In traditional color spaces, a color can be identified solely by the
observer's measurement of the color. Color appearance models such as CAM16
also use information about the environment where the color was observed,
known as the viewing conditions.
Abstract Classes
Material Accent ColorAbstract Class
Base class for accent swatches with weights:
100, 200, 400, 700.
Material ColorAbstract Class
Base class for standard Material-style swatches with weights:
50, 100, 200, 300, 400, 500, 600, 700, 800, 900.
Material SwatchAbstract Class
Base type for color swatches.
Supports a primary value, indexed shades, and conversion to Unity colors.