Color Scheme API

Categories

Component ID

287244

Component name

Color Scheme API

Component type

module

Component security advisory coverage

not-covered

Downloads

6738

Component created

Component changed

Component body

An API to generate a full color scheme from a base color. Generates a palette of background and foreground colors. Foreground colors are generated so they have enough contrast to be readable against the background color. Also includes functions to brighten, darken, and mix colors.