samedi 9 mai 2015

How can i color my text in orange color?

I'm trying to find how to color my text in orange.

I tried this:

SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_RED | BACKGROUND_GREEN);

But it will give me a red on green text.

Is it even possible to get the color orange? i tried different codes i found in the internet, but none of them gave me orange.

thanks for the help.

Aucun commentaire:

Enregistrer un commentaire