Class DynamicBimodalPalette

java.lang.Object
org.pushingpixels.ephemeral.chroma.dynamiccolor.DynamicBimodalPalette
All Implemented Interfaces:
TokenPalette

public class DynamicBimodalPalette extends Object implements TokenPalette
Provides important settings for creating colors dynamically, and a tonal palette. Requires: 1. A color. (source color) 2. Whether or not its dark mode. 3. Contrast level. (-1 to 1, currently contrast ratio 3.0 and 7.0)