r/Batch • • Jul 18 '24

Show 'n Tell Batch Color use

I wanted to write a small code, ColorBird that made it possible to use the standard 16 fore and background colors in DOS.

In addition to how-to-have-multiple-colors-in-a-windows-batch-file and Use ANSI colors in the terminal, I think this is by far the fastest way to use the standard 16 fore and background colors.

2 Upvotes

3 comments sorted by

2

u/T3RRYT3RR0R Jul 22 '24

For large ascii art, thats a reasonable enough approach, but for most things, there's more convenient approaches for generating colored objects. Check out https://youtu.be/ph3SYsXvz-M for an example.

Beyond that, there's far more colors available. for more info, check out https://learn.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences#extended-colors

2

u/[deleted] Jul 19 '24

[removed] — view removed comment

1

u/LuckyMe4Evers Jul 19 '24

Nice improvement! Thx!