def arrow_style(val):
    """
    Defines styling for badges (ui elements)
    Args:
        val: float (positive or negative)

    Returns: background-color, color, class for font awesome icons

    """
    if round(val, 1) < 0:
        return '#50B1A2', '#fff', 'down'
    if round(val, 1) > 0:
        return '#C3043E', '#fff', 'up'
    return '#FFC802', '#444', 'right'
