How to change colors in CMD

elakiri0777

Active member
  • Nov 24, 2006
    3,193
    16
    38
    In Your Heart
    SYNTAX Sets the default console foreground and background colors.

    Color attributes are specified by TWO hex digits -- the first corresponds to the background; the second the foreground. Each digit can be any of the below values.

    0 = Black
    1 = Blue
    2 = Green
    3 = Aqua
    4 = Red
    5 = Purple
    6 = Yellow
    7 = White
    8 = Gray
    9 = Light Blue

    A = Light Green
    B = Light Aqua
    C = Light Red
    D = Light Purple
    E = Light Yellow
    F = Bright White


    EXAMPLE
    Color 2A = Creates a green background with light bright green text
     

    elakiri0777

    Active member
  • Nov 24, 2006
    3,193
    16
    38
    In Your Heart
    cmd (command prompt) ekata gihin,
    "color 2A" kiyala type karala enter karala balanna,
    ethakota background color eka Green text color eka Light Green.