SetConsoleTextAttribute BOOL WINAPI SetConsoleTextAttribute( __in HANDLE hConsoleOutput, __in WORD wAttributes ); FOREGROUND_BLUE Text color contains blue. FOREGROUND_GREEN Text color contains green. FOREGROUND_RED Text color contains red. FOREGROUND_INTENSITY Text color is intensified. BACKGROUND_BLUE Background color contains blue. BACKGROUND_GREEN Background color contains green. BACKGROUND_RED Background color contains red. BACKGROUND_INTENSITY Background color is intensified. COMMON_LVB_LEADING_BYTE Leading byte. COMMON_LVB_TRAILING_BYTE Trailing byte. COMMON_LVB_GRID_HORIZONTAL Top horizontal. COMMON_LVB_GRID_LVERTICAL Left vertical. COMMON_LVB_GRID_RVERTICAL Right vertical. COMMON_LVB_REVERSE_VIDEO Reverse foreground and background attributes. COMMON_LVB_UNDERSCORE Underscore. no effect: COMMON_LVB_REVERSE_VIDEO COMMON_LVB_UNDERSCORE