Struct Dark2

Inheritance Relationships

Base Type

Struct Documentation

struct Dark2 : public flamegpu::visualiser::Palette

Color blind friendly qualitative palette Dark2 from Colorbrewer


Color names are approximations using

Public Types

enum Name

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


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 also


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