def bgr2rgba(bgr):
    """ Converts BGR colour integer into an RGB tuple

    :param bgr: BGR colour integer
    :returns: RGBA float tuple
    """
    return (bgr & 255) / 255.0, ((bgr & 65280) >> 8) / 255.0, (bgr >> 16
        ) / 255.0, 1.0
