static ConsoleColor GetBackground (short attr) { attr &= 0xF0; attr >>= 4; return (ConsoleColor) attr; }