This function is poorly named; it should be called ForegroundAttributesEqual because the test for bold, italic, blink, and underline are significant and should be retained regardless of the color mode (feel free to rename it for extra credit :)