home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
d
/
dsharp10.zip
/
COLORS.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-01-24
|
5KB
|
64 lines
@echo off
::: This batch file requires ANSI.SYS or equivalent.
echo
To set the ANSI color attributes, enter Esc[#;#;#m
echo where the first # is 0 for normal and
1 for bright
,
echo the second # is the desired foreground color and
echo the third # is the desired background color.
echo Select colors from the list below:
echo
┌─────────────────────────────┬──────────────────────────────┐
echo
│ NOTE: Colors displayed here are BRIGHT
│
echo
│ 30
black foreground
│ 40
black background
│
echo
│ 31
red foreground
│ 41
red background
│
echo
│ 32
green foreground
│ 42
green background
│
echo
│ 33
yellow foreground
│ 43
yellow background
│
echo
│ 34
blue foreground
│ 44
blue background
│
echo
│ 35
magenta foreground
│ 45
magenta background
│
echo
│ 36
cyan foreground
│ 46
cyan background
│
echo
│ 37
white foreground
│ 47
white background
│
echo
└─────────────────────────────┴──────────────────────────────┘
echo To set additional attributes enter: Esc[#m where # is the number of the
echo desired attribute. Select attributes from the list below:
echo
0 all attributes off (white on black) 5
blink
echo
1
bold on
7 reverse video
echo
4
underscore (on IBM Monochrome Display)
8 invisible
echo.
pause
echo
echo.
echo ─────────────────────── NON - BRIGHT ───────────────────────
echo
30-40
31-40
32-40
33-40
34-40
s
echo u35-40
36-40
37-40
echo
30-41
31-41
32-41
33-41
34-41
s
echo u35-41
36-41
37-41
echo
30-42
31-42
32-42
33-42
34-42
s
echo u35-42
36-42
37-42
echo
30-43
31-43
32-43
33-43
34-43
s
echo u35-43
36-43
37-43
echo
30-44
31-44
32-44
33-44
34-44
s
echo u35-44
36-44
37-44
echo
30-45
31-45
32-45
33-45
34-45
s
echo u35-45
36-45
37-45
echo
30-46
31-46
32-46
33-46
34-46
s
echo u35-46
36-46
37-46
echo
30-47
31-47
32-47
33-47
34-47
s
echo u35-47
36-47
37-47
echo ────────────────────────── BRIGHT ──────────────────────────
echo
30-40
31-40
32-40
33-40
34-40
s
echo u35-40
36-40
37-40
echo
30-41
31-41
32-41
33-41
34-41
s
echo u35-41
36-41
37-41
echo
30-42
31-42
32-42
33-42
34-42
s
echo u35-42
36-42
37-42
echo
30-43
31-43
32-43
33-43
34-43
s
echo u35-43
36-43
37-43
echo
30-44
31-44
32-44
33-44
34-44
s
echo u35-44
36-44
37-44
echo
30-45
31-45
32-45
33-45
34-45
s
echo u35-45
36-45
37-45
echo
30-46
31-46
32-46
33-46
34-46
s
echo u35-46
36-46
37-46
echo
30-47
31-47
32-47
33-47
34-47
s
echo u35-47
36-47
37-47
echo.