def get_channels(color: str) -> tuple[int, int, int]:
    """Convert a 24-bit hex color string into an RGB color.

    :param color: A 24-bit hexadecimal color string, like is commonly
        used in HTML and CSS.
    :return: A :class:tuple object.
    :rtype: tuple
    """
    r = int(color[:2], 16)
    g = int(color[2:4], 16)
    b = int(color[4:], 16)
    return (r, g, b)