Clean up COLOR_PAIRS implementation