Struct Pastel

Inheritance Relationships

Base Type

Struct Documentation

struct Stock::Palettes::Pastel : public Palette

Qualitative palette pastel palette from seaborn Blue light filters may cause MACARONI_AND_CHEESE(1) and ROSEBUD(3) to appear similar

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 PALE_CORNFLOWER_BLUE
enumerator MACARONI_AND_CHEESE
enumerator GRANNY_SMITH_APPLE
enumerator ROSEBUD
enumerator MAUVE
enumerator PANCHO
enumerator LAVENDER_ROSE
enumerator VERY_LIGHT_GREY
enumerator CANARY
enumerator PALE_TURQUOISE

Public Functions

inline Pastel()
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