Subscribe to stev3's Blog        RSS Feed
-----

Colouring your console background/foreground

Icon Leave Comment
#include <iostream>
const int Colours = system("color 2A");
int main()
{

   return 0;
}



The first digit/letter in "color .." is the background; the next is the foreground

0 = Black
1 = Blue
2 = Green
3 = Aqua
4 = Red
5 = Purple
6 = Yellow
7 = White
8 = Gray
9 = Light Blue
A = Light Green
B = Light Aqua
C = Light Red
D = Light Purple
E = Light Yellow
F = Bright White

0 Comments On This Entry

 

January 2022

S M T W T F S
      1
2345678
9101112131415
161718192021 22
23242526272829
3031     

Tags

    Recent Entries

    Search My Blog

    1 user(s) viewing

    1 Guests
    0 member(s)
    0 anonymous member(s)

    Test

    test