Many improvements in get_term_rgb_color.py