def color_RGB_to_xy(
    iR: int,
    iG: int,
    iB: int,
    Gamut: GamutType | None = None,
) -> tuple[float, float]:
    """Convert from RGB color to XY color."""
    return color_RGB_to_xy_brightness(iR, iG, iB, Gamut)[:2]
Convert from RGB color to XY color.
webapp/homeassistant_util_color.py