def rgb_to_dec(rgb):
    """
    Converts rgb to decimal values
    ==============================

    Parameters:
    -----------
    rgb: rgb values (list of 3 floats)

    Returns:
    --------
    dec: decimal values (list of 3 floats)
    """
    return [v / 256 for v in rgb]