Function Dune::XT::Common::color

std::string Dune::XT::Common::color(const std::string id)

Returns the ANSI escape code for the color registered under the given name in color_map().

std::string Dune::XT::Common::color(size_t i)

Chooses a color from a 256 color map for a foreground color.

:param i: The color number between 0 and 255. :returns: A string describing a color code.