Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1685

Changing the color palette on the fly

$
0
0
My CONHOST.EXE is nothing special ... just up-to-date.

Code:
TCC 28.00.12 x64
Microsoft Windows 10 Pro for Workstations
10.0.19043.1165 (2009, 21H1)

There's an escape sequence that will change a color palette entry on the fly, and update the console. The syntax is

Code:
ESC]4;i;rgb:r/g/bESC

where i is the color index and r,g, and b are hex (0-FF) values for the new color.

Before:

1630634426086.png

After:

1630634652495.png

Viewing all articles
Browse latest Browse all 1685

Trending Articles