def METHOD_NAME(self, color):
    """
    Given a color, it reverses the effect of gamma as done in extract_colors()
    Args:
        color (common.Color.Color) : color element
    Returns:
        (common.Color.Color) : color element with gamma effect reversed
    """
    ret = copy.deepcopy(color)
    ret.red = ret.red ** settings.GAMMA[0]
    ret.green = ret.green ** settings.GAMMA[1]
    ret.blue = ret.blue ** settings.GAMMA[2]
    return ret