34 int foreground = 30 + (int)ForegroundColor;
36 return std::string(
"\x1b[") + std::to_string(foreground) +
"m";
47 color BackgroundColor)
49 int foreground = 30 + (int)ForegroundColor;
50 int backgound = 40 + (int)BackgroundColor;
52 return std::string(
"\x1b[") +
53 std::to_string(foreground) +
";" +
54 std::to_string(backgound) +
"m";
const std::string color_literal_reset()
std::string color_literal(color ForegroundColor)