When the VT100 sequences are used with a version of the Windows Console that supports 24-bit colors they will display the desired RGB color, older consoles will choose the nearest appropriate color from the existing 16 color table.
CHANGE BLACK BACKGROUND COLOR EVIEWS 9 INSTALL
To take advantage of the new colors use ColorTool.exe and install a theme, or use the VT100 sequences described here. The new W10 Console also adds full 24-bit color support, this is primarily for Linux compatibility so the console properties page and the default Windows color mappings still use just 16 colors, there is no plan to add additional console colors to the Win32 API. When the PowerShell team decided they wanted a very specific dark blue as the background colour, rather than altering the colour value for dark or light blue, they instead changed dark magenta to blue and used that as the background colour". If using ColorTool, you may want to tinker with the new values: "So up until very recently the console only supported 16 colours at a time. Samples of the new colors can be found on the ANSI color page, you can also display them with ColorTool.exe -c In Windows 10 clean-install versions greater than build 16257 the default colour scheme has been changed to modernize the look of the Windows Console suitable for modern high-contrast LCD displays. These are available in Windows versions greater than 1511. To change the color of individual words/characters/paragraphs ANSI color escapes can be used. The COLOR command will change the color of all the text in the window. The default terminal color is COLOR 07, white on black The COLOR command sets ERRORLEVEL to 1 if an attempt is made to execute theĬOLOR command with a foreground and background colour that are the same. The current colour settings when cmd was launched If no argument is given, COLOR restores the colour to what it was when CMD.EXEĬolour values are assigned in the following order: There should be no space between the two color numbers. Sets the default console foreground and background colours.Ĭolour attributes are specified by 2 of the following hex digits.