SchemeContent
A scheme that places the source color in Scheme.primaryContainer.
Primary Container is the source color, adjusted for color relativity. It maintains constant appearance in light mode and dark mode. This adds ~5 tone in light mode, and subtracts ~5 tone in dark mode.
Tertiary Container is an analogous color, specifically, the analog of a color wheel divided into 6, and the precise analog is the one found by increasing hue. This is a scientifically grounded equivalent to rotating hue clockwise by 60 degrees. It also maintains constant appearance.
Constructors
Properties
Value from -1 to 1. -1 represents minimum contrast. 0 represents standard (i.e. the design as spec'd), and 1 represents maximum contrast.
The error color palette.
Palette The neutral color palette.
The neutral variant color palette.
The platform on which this scheme is intended to be used.
The primary color palette.
The secondary color palette.
The source color HCT.
The version of the color specification.
The tertiary color palette.