<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def color_func(func_name):
 """ Call color function base on name """

    if str(func_name).isdigit():
        return term_color(int(func_name))
    return globals()[func_name]