Add RGB demo
This commit is contained in:
1
main.cpp
1
main.cpp
@@ -13,5 +13,6 @@ int main()
|
||||
//std::cout << c.ansi.code << "Hello, Colors!" << mcolor::ansiControlCodes::RESET.code << std::endl;
|
||||
//std::cout << "ass" << std::endl;
|
||||
std::cout << mcolor::toEscapeCode(mcolor::ansiColors::Colors::FG_RED) << "Hello, Colors!" << mcolor::toEscapeCode(mcolor::ansiColors::Colors::RESET) << std::endl;
|
||||
std::cout << mcolor::toEscapeCode(mcolor::rgbColors::CYAN) << "Hello, Colors!" << mcolor::toEscapeCode(mcolor::ansiColors::Colors::RESET) << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user