1234567891011121314151617181920212223242526272829 |
- #include <iostream>
- using namespace std;
- int main() {
- cout << "Show colors" << endl;
- cout << endl << "Typical combinations" << endl;
- cout << "\033[0;30m" << "Black" << endl;
- cout << "\033[1;30m" << "Dark Gray" << endl;
- cout << "\033[0;34m" << "Blue" << endl;
- cout << "\033[1;34m" << "Light Blue" << endl;
- cout << "\033[0;32m" << "Green" << endl;
- cout << "\033[1;32m" << "Light Green" << endl;
- cout << "\033[0;36m" << "Cyan" << endl;
- cout << "\033[1;36m" << "Light Cyan" << endl;
- cout << "\033[0;31m" << "Red" << endl;
- cout << "\033[1;31m" << "Light Red" << endl;
- cout << "\033[0;35m" << "Purple" << endl;
- cout << "\033[1;35m" << "Light Purple" << endl;
- cout << "\033[0;33m" << "Brown" << endl;
- cout << "\033[1;33m" << "Yellow" << endl;
- cout << "\033[0;37m" << "Light Gray" << endl;
- cout << "\033[1;37m" << "White" << endl;
- cout << "End." << endl;
- return 0;
- }
|