main.cpp 884 B

1234567891011121314151617181920212223242526272829
  1. #include <iostream>
  2. using namespace std;
  3. int main() {
  4. cout << "Show colors" << endl;
  5. cout << endl << "Typical combinations" << endl;
  6. cout << "\033[0;30m" << "Black" << endl;
  7. cout << "\033[1;30m" << "Dark Gray" << endl;
  8. cout << "\033[0;34m" << "Blue" << endl;
  9. cout << "\033[1;34m" << "Light Blue" << endl;
  10. cout << "\033[0;32m" << "Green" << endl;
  11. cout << "\033[1;32m" << "Light Green" << endl;
  12. cout << "\033[0;36m" << "Cyan" << endl;
  13. cout << "\033[1;36m" << "Light Cyan" << endl;
  14. cout << "\033[0;31m" << "Red" << endl;
  15. cout << "\033[1;31m" << "Light Red" << endl;
  16. cout << "\033[0;35m" << "Purple" << endl;
  17. cout << "\033[1;35m" << "Light Purple" << endl;
  18. cout << "\033[0;33m" << "Brown" << endl;
  19. cout << "\033[1;33m" << "Yellow" << endl;
  20. cout << "\033[0;37m" << "Light Gray" << endl;
  21. cout << "\033[1;37m" << "White" << endl;
  22. cout << "End." << endl;
  23. return 0;
  24. }