1 #ifndef GENESIS_UTILS_TOOLS_COLOR_NAMES_H_ 2 #define GENESIS_UTILS_TOOLS_COLOR_NAMES_H_ 111 #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...
Container namespace for all symbols of genesis in order to keep them separate when used as a library...
Color color_from_name_xkcd(std::string const &name)
Retrieve a named xkcd color by name.
bool is_web_color_name(std::string const &name)
Return true iff the given name is a named web color.
bool is_xkcd_color_name(std::string const &name)
Return true iff the given name is a named xkcd color.
std::vector< Color > color_palette_web()
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...
std::vector< Color > color_palette_xkcd()