Hey everyone,

I want my code to generate a color like it would generate in a C# application.

For example Light Green versus Standard Green :

#include <iostream>
#include <Windows.h>

using namespace std;

void initColor(int);

int main()
	cout << "===== INITIALISATION =====" << endl;

  	return 0;

void initColor(int color)
	HANDLE  hConsole;
  	hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
	SetConsoleTextAttribute(hConsole, color);

If anyone can help me it would be gladly appreciated.

The color you want is initColor(FOREGROUND_GREEN | FOREGROUND_INTENSITY) . And it's generally more informative to use the macros rather than hardcoded values.