static short GetAttrBackground (int attr, ConsoleColor color) { attr &= ~0xf0; int c = ((int) color) << 4; return (short) (attr | c); }