This app demonstrates how Leonardo can be used to create an adaptive color palette. The adaptibility of color is surfaced to the end-user via the brightness and contrast sliders at the top of the page.
Each color is generated using
generateAdaptiveTheme(). Take a look at here to see how this demo app is built.