Attr

Table of contents

  1. set @attr
  2. get @attr
  3. related extensions

set @attr

Set the color attributes of the console.

Upto 4 hexadecimal characters:

[80][bg][fg]

For specify underline write 80.

Set blue background with blank text, with underline

set "@attr=801F"

get @attr

Get the color attributes of the console.

echo !@attr!
801F

@bg @fg @ul @color