buchaLL
Bez spiny, luźno
Where can I check these colors? I would like to add my own.
const.h
The colors I checked with this code but some are bad like COLOR_ORANGE = 192,
const.h
C++:
enum Color_t
{
COLOR_BLACK = 0,
COLOR_BLUE = 5,
COLOR_GREEN = 18,
COLOR_TEAL = 35,
COLOR_LIGHTGREEN = 66,
COLOR_DARKBROWN = 78,
COLOR_LIGHTBLUE = 89,
COLOR_MAYABLUE = 95,
COLOR_DARKRED = 108,
COLOR_DARKPURPLE = 112,
COLOR_BROWN = 120,
COLOR_GREY = 129,
COLOR_DARKPINK = 152,
COLOR_PURPLE = 154,
COLOR_DARKORANGE = 156,
COLOR_RED = 180,
COLOR_PINK = 190,
COLOR_ORANGE = 192,
COLOR_DARKYELLOW = 205,
COLOR_YELLOW = 210,
COLOR_WHITE = 215,
COLOR_NONE = 255,
COLOR_UNKNOWN = 256
};
The colors I checked with this code but some are bad like COLOR_ORANGE = 192,
C++:
#include <iostream>
#include <windows.h>
using namespace std;
int main()
{
HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
for(int k = 0; k < 255; k++)
{
SetConsoleTextAttribute(hConsole, k);
cout << k << " I want to be nice today!" << endl;
}
system("pause");
}