Add RGB demo

This commit is contained in:
2024-07-01 21:56:47 -04:00
parent 5a5bbd2a53
commit f26ca1f077

View File

@@ -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;
}