====== @Xnn Color Codes ====== PCBoard defines some macros to change color if user has ANSI capabilities. If user doesn't support ANSI, PCB just skip those codes. It is a good way to colorize your screens and prompt because you don't have to check the ANSI flag, PCB deal with it automatically. Color codes are made of 4 bytes. the first byte is used to enter in macro mode. The second indicates that we want to pass a color code. Next byte is the background color and the last is the foreground color. ===== BackGround codes: ===== 0 - Black 1 - Blue 2 - Green 3 - Cyan 4 - Red 5 - Magenta 6 - Brown 7 - LightGray 8 - Black 9 - Blinking foreground on Blue background A - Blinking foreground on Green background B - Blinking foreground on Cyan background C - Blinking foreground on Red background D - Blinking foreground on Magenta background E - Blinking foreground on Brown background F - Blinking foreground on LightGray background ===== Foreground codes: ===== 0 - Black 1 - Blue 2 - Green 3 - Cyan 4 - Red 5 - Magenta 6 - Brown 7 - LightGray 8 - DarkGray 9 - LightBlue A - LightGreen B - LightCyan C - LightRed D - LightMagenta E - Yellow F - White —- **Tags:** {{tag>ppl color @x}}