def get_color(val, trendType):
    """Determine if evolution is positive or negative.

    From trend type - determined in config.toml for each KPIs,
    picking right color to return
    """
    if(val > 0):
        if(trendType == 'normal'):
            color = 'red'
        else:
            color = 'green'
    elif(val < 0):
        if(trendType == 'normal'):
            color = 'green'
        else:
            color = 'red'
    else:
        color = 'blue'
    return color