The Computer Oracle

Reset colors on Windows command line (cmd)

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Droplet of life

--

Chapters
00:00 Reset Colors On Windows Command Line (Cmd)
00:31 Accepted Answer Score 105
00:56 Answer 2 Score 38
01:18 Answer 3 Score 13
01:29 Thank you

--

Full question
https://superuser.com/questions/158759/r...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows #colors #commandline

#avk47



ACCEPTED ANSWER

Score 105


Color 07 will set it to the default scheme that cmd.exe uses.

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



ANSWER 2

Score 38


Try Color

Use color /? to see all the commands

COLOR 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.




ANSWER 3

Score 13


Well according to: http://commandwindows.com/vista-commands.htm

You just type COLOR.

Worked for me just now...