Batch files color example

color [[<b>]<f>] (doc)- Sets the default console foreground and background colors.

Color attributes are specified by TWO hex digits -- the first corresponds to the backgroundand the second the foreground.  

    0 = Black       8 = Gray

    1 = Blue        9 = Light Blue

    2 = Green       A = Light Green

    3 = Aqua        B = Light Aqua

    4 = Red         C = Light Red

    5 = Purple      D = Light Purple

    6 = Yellow      E = Light Yellow

    7 = White       F = Bright White

Examples

@echo off

echo examle Brohelp.com
color E2

 

@echo off

echo examle Brohelp.com
set fcolor=b
set bcolor=0
set c=%bcolor%%fcolor%
color %c%

 

@echo off

echo examle Brohelp.com
set fcolor=b
set bcolor=0
set c=%bcolor%%fcolor%
if not "%~1"=="" (set c=%1)
color %c%