Simplified ansi color logic for terminal