DOS Color Codes
-
you can find out with dos command: "color x", where x = 1, 2, 3, ..., a, b, c, d, e, f
C:\>color /? Sets the default console foreground and background colors. COLOR [attr] attr Specifies color attribute of console output Color attributes are specified by TWO hex digits -- the first corresponds to the background; the second the foreground. Each digit can be any of the following values: 0 = Black 8 = Gray 1 = Blue 9 = Light Blue 2 = Green A = Light Green 3 = Aqua B = Light Aqua 4 = Red C = Light Red 5 = Purple D = Light Purple 6 = Yellow E = Light Yellow 7 = White F = Bright White If no argument is given, this command restores the color to what it was when CMD.EXE started. This value either comes from the current console window, the /T command line switch or from the DefaultColor registry value. The COLOR command sets ERRORLEVEL to 1 if an attempt is made to execute the COLOR command with a foreground and background color that are the same. Example: "COLOR fc" produces light red on bright white
-
0 = Black 8 = Dark Gray
1 = Blue 9 = Light Blue
2 = Green A = Light Green
3 = Cyan B = Light Cyan
4 = Red C = Light Red
5 = Magenta D = Light Magenta
6 = Yellow E = Light Yellow
7 = Light Gray F = WhiteI'm old. I know stuff.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997 -
you can find out with dos command: "color x", where x = 1, 2, 3, ..., a, b, c, d, e, f
If only google indexed the internet, I would not have had to ask. Not my fault.
-
He wasn't asking how to find it (and the answer is, of course, google), he was testing our memory.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997You are right, I misunderstood his post. I am amazed at how much we can do with DOS commands, if only we learn/remember how to do it.
-
0 = Black 8 = Dark Gray
1 = Blue 9 = Light Blue
2 = Green A = Light Green
3 = Cyan B = Light Cyan
4 = Red C = Light Red
5 = Magenta D = Light Magenta
6 = Yellow E = Light Yellow
7 = Light Gray F = WhiteI'm old. I know stuff.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997John Simmons / outlaw programmer wrote:
I know stuff
That's an unfair advantage - knowledge is not supposed to mean anything, it usually ruins good discussions - and as it has not been endorsed by w3c, it can't be worth sh*t. ;)
Espen Harlinn Senior Architect, Software - Goodtech Projects & Services
-
0 = Black 8 = Dark Gray
1 = Blue 9 = Light Blue
2 = Green A = Light Green
3 = Cyan B = Light Cyan
4 = Red C = Light Red
5 = Magenta D = Light Magenta
6 = Yellow E = Light Yellow
7 = Light Gray F = WhiteI'm old. I know stuff.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997 -
Ok. I probably was thinking more of the garish CGA colors
And from the clouds a mighty voice spoke:
"Smile and be happy, for it could come worse!"And I smiled and was happy
And it came worse.Garish - but not necessarily usable: Doom in CGA[^] (YouTube, SFW)
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
-
0 = Black 8 = Dark Gray
1 = Blue 9 = Light Blue
2 = Green A = Light Green
3 = Cyan B = Light Cyan
4 = Red C = Light Red
5 = Magenta D = Light Magenta
6 = Yellow E = Light Yellow
7 = Light Gray F = WhiteI'm old. I know stuff.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997My first machines were all green monochrome, so these colors were all shades of green. When I first ran one of my apps on a color monitor I was amazed!
Regards, Nish
My technology blog: voidnish.wordpress.com You've gotta read this : Using lambdas - C++ vs. C# vs. C++/CX vs. C++/CLI
-
All right.. let's hear it. Who remember's the whole sequence: 1 - Blue 2 - Green 3 - Cyan 4 - ???
You can see the 16 colors all at once, in their normal order on all kinds of Windows machines, young or old: use
CommandPrompt/Properties/Colors
:)Luc Pattyn [My Articles] Nil Volentibus Arduum
-
You can see the 16 colors all at once, in their normal order on all kinds of Windows machines, young or old: use
CommandPrompt/Properties/Colors
:)Luc Pattyn [My Articles] Nil Volentibus Arduum
Nice one, didn't think of that :-D
-
10% = Silver 5% = Gold
So I rounded up my camel Just to ask him for a smoke He handed me a Lucky, I said "Hey, you missed the joke." My Mu[sic] My Films My Windows Programs, etc.
Resistance is futile (if < 1 ohm)
-
Resistance is futile (if < 1 ohm)