|
A library for working with phylogenetic and population genetic data.
v0.32.0
|
|
Go to the documentation of this file. 1 #ifndef GENESIS_UTILS_COLOR_NAMES_H_
2 #define GENESIS_UTILS_COLOR_NAMES_H_
140 #endif // include guard
Color color_from_name_web(std::string const &name)
Retrieve a named web color by name.
Color color_from_name(std::string const &name)
Return the color represented by the given name, which is (currently) a shortcut for color_from_name_w...
Color color_from_name_xkcd(std::string const &name)
Retrieve a named xkcd color by name.
bool is_color_name_web(std::string const &name)
Return true iff the given name is a named web color.
Color color_from_name_lego(std::string const &name)
Retrieve a named LEGO color by name.
std::vector< Color > color_palette_xkcd()
std::vector< Color > color_palette_web()
Container namespace for all symbols of genesis in order to keep them separate when used as a library.
bool is_color_name_xkcd(std::string const &name)
Return true iff the given name is a named xkcd color.
bool is_color_name_lego(std::string const &name)
Return true iff the given name is a named LEGO color.
std::vector< Color > color_palette_lego()
bool is_color_name(std::string const &name)
Return true if the name represents one of the named colors offered by genesis, which is (currently) a...