palette_generator library

Classes

PaletteColor
A color palette color generated by the PaletteGenerator. [...]
PaletteGenerator
A class to extract prominent colors from an image for use as user interface colors. [...]
PaletteTarget
A class which allows custom selection of colors when a PaletteGenerator is generated. [...]

Functions

avoidRedBlackWhitePaletteFilter(HSLColor color) bool
A basic PaletteFilter, which rejects colors near black, white and low saturation red. [...]

Typedefs

PaletteFilter(HSLColor color) bool
Hook to allow clients to be able filter colors from selected in a PaletteGenerator. Returns true if the color is allowed. [...]