DOS / command prompt / bat file color codes

The following values can be used to create colored text and backgrounds in bat files and command prompt:

simply use the color command and then any combination of these

c:\color F0

produces black text on a white background

0 = black 8 = gray
1 = navy 9 = blue
2 = green A = lime
3 = teal B = aqua
4 = maroon C = red
5 = purple D = fuchsia
6 = olive E = yellow
7 = silver F = white
Print Friendly, PDF & Email

More Like This


Categories


Win 7 / 10 Tips & Tricks Windows XP Tips & Tricks

Tags


  • Post a comment