Struct Dark2

Inheritance Relationships

Base Type

Struct Documentation

struct Stock::Palettes::Dark2 : public Palette

Color blind friendly qualitative palette Dark2 from Colorbrewer

Note

Color names are approximations using https://www.color-blindness.com/color-name-hue/

Public Types

enum Name

Friendly names that can be passed to operator[]() to retrieve the relevant color

Values:

enumerator ELF_GREEN
enumerator TAWNY
enumerator RICH_BLUE
enumerator RAZZMATAZZ
enumerator CHRISTI
enumerator GAMBOGE
enumerator GOLDEN_BROWN
enumerator MORTAR

Public Functions

inline Dark2()
inline virtual Category getCategory() const override

Returns the category of the palette

See

Category

inline virtual bool getColorBlindFriendly() const override

Returns whether the palette is confirmed as suitable for colorblind viewers

Protected Functions

inline virtual const std::vector<Color> &colors() const override